Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Accumulo, mail # user - Is there a fast way to find the last row in a table?


+
David Medinets 2013-01-24, 20:08
+
Keith Turner 2013-01-24, 20:17
Copy link to this message
-
Re: Is there a fast way to find the last row in a table?
David Medinets 2013-01-25, 13:19
On Thu, Jan 24, 2013 at 3:17 PM, Keith Turner <[EMAIL PROTECTED]> wrote:
> In the shell, you can use maxrow.  In the API, you can call
> conn.tableOperations().getMaxRow()

I used tableOperations.getMaxRow("TABLENAME", new Authorizations(),
null, true, null, true) and it worked just fine. Thank you.