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 >> Reverse timestamp order?


Copy link to this message
-
Reverse timestamp order?
When iterating over multiple versions of the same key, is there a way to
receive them in chronological order rather than last inserted first?

For example, if I insert

aKey cf1 cq1 10 aValue1
aKey cf1 cq1 20 aValue2
aKey cf1 cq1 30 aValue3

When scanning I receive them in reverse timestamp order - which is great
for retrieving the most recent version

aKey cf1 cq1 30 aValue3
aKey cf1 cq1 20 aValue2
aKey cf1 cq1 10 aValue1

If I'd like to "replay" history, should I basically grab the whole list and
then invert it, or is there a built in way to do this?

Thanks!

Mike
+
Josh Elser 2013-02-16, 01:44
+
Aaron Cordova 2013-02-16, 00:38
+
Ed Kohlwey 2013-02-16, 01:00
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