cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srinivas rao <pinnakasrin...@gmail.com>
Subject help on querying cassandra
Date Tue, 08 Jul 2014 14:40:25 GMT
Hi All,

When i query the cassandra, it creates a cartesion produt on my input
request (row keys * column keys). Is there any way to query cassandra with
map kind of input as below.


current scenarios

5 row keys, 5 column keys as below = result data with 25 (if data is
available).
example

rowkey1=100, column key1=10000
rowkey2=101, column key2=10001
rowkey3=102, column key3=10002
rowkey4=103, column key4=10003
rowkey5=104, column key5=10004


but i am expecting the scenarios as below

rowkey1=100, column key1=10000
rowkey2=101, column key2=10001
rowkey3=102, column key3=10002
rowkey4=103, column key4=10003
rowkey5=104, column key5=10004

5 row keys, 5 colkumn keys = result data with 5



Note: we can try with multiple calls to cassandra for each entry set.
Please suggest me any better option.


Thanks
Srinivas

Mime
View raw message