cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dop Sun" <su...@dopsun.com>
Subject keyrange for get_range_slices
Date Thu, 10 Jun 2010 14:03:28 GMT
Hi,

 

As documented in the http://wiki.apache.org/cassandra/API, the key range for
get_range_slices are both inclusive. 

 

As discussed in this thread:
http://groups.google.com/group/jassandra-user/browse_thread/thread/c2e56453c
de067d3, there is a case that user want to discover all keys (huge number)
in a column family. 

 

What I think  is doing batchly: using empty string as start and finish
first, then using the last key returned as start and query second.

 

My question is: using this method, the last key returned for the first
query, will be returned again in the second query as the first key. And it's
a duplication. Is there any other API to discover keys without duplications
in current implementation?

 

Thanks,

Regards,

Dop


Mime
View raw message