cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject Filter on row iterator
Date Fri, 06 May 2011 10:34:13 GMT
Hi all,
I have a column family with about 300 rows. Rows name are of 2 categories:

number (eg: 12345)
e_number (eg: e_12345)

is there any way to extract only rows that are numbers?
For the moment I'm iterating over all rows with a KeyRange and filtering 
client-side but I don't like this solution.
I've seen that KeyRange can be created using tokens instead of keys but I 
don't understand how they works and did not find any working example.

(Java/Pelops/Cassandra 0.7.5)



View raw message