Hm, tricky. You don't have the scan the whole table - just the last
region. You can find out what the start key of the last region is by
using HTable#getStartKeys. If this isn't an acceptable solution, we
might be able to think up a way to get the last real row of a table
more efficiently.
-Bryan
On Apr 28, 2008, at 7:53 PM, Zhou Wei wrote:
Hi
I want to find out the maximum value of the row id of a table.
Is there a simple and efficient way to do this without scan through
the
whole table starting from the first row?
Thanks.
Zhou