incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Larsen" <clar...@euphoriaaudio.com>
Subject Retrieve Multiple CFs from Range Slice
Date Sat, 10 Nov 2012 04:46:10 GMT
Hi! Is there a way to retrieve the columns for all column families on a
given row while fetching range slices? My keyspace has two column families
and when I'm scanning over the rows, I'd like to be able to fetch the
columns in both CFs while iterating over the keys so as to avoid having to
run two scan operations. When I set the CF to an empty string, ala
ColumnParent.setColumn_family(""), it throws an error "non-empty
columnfamily is required". (Using the Thrift API directly from JAVA on Cass
1.1.6) My HBase scans can return both CFs per row so it works nicely.
Thanks!


Mime
View raw message