Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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?
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.
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB