How about Reverse Scan? https://issues.apache.org/jira/browse/HBASE-4811
On Thu, Mar 27, 2014 at 4:24 PM, Li Li <[email protected]> wrote: > my rowkey is <strField,intField> > I want to scan it by decreasing order of the int field, how to make it > reversed? > if the row key is Bytes.toBytes(intField) + Bytes.toBytes(strField), > then the order is increasing. > one solution is replace intField with -intField. but if > intField==Integer.MIN_VALUE, what will happen? > -- Best Regards, Haosdent Huang
