RE: how to get the last row inserted into a hbase table

2018-07-11 Thread Ming
thanks Josh, My application leave the timestamp as default, so each put/delete should have timestamp generated by HBase itself. I was thinking there is a way to get the last timestamp. But think it again, yes you are right, the data is sorted by rowkey, so there is no quick way to get the

Re: how to get the last row inserted into a hbase table

2018-07-11 Thread Josh Elser
Unless you are including the date+time in the rowKey yourself, no. HBase has exactly one index for fast lookups, and that is the rowKey. Any other query operation is (essentially) an exhaustive search. On 7/11/18 12:07 PM, Ming wrote: Hi, all, Is there a way to get the last row