incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edlinuxg...@gmail.com>
Subject Re: slice query
Date Thu, 30 May 2013 19:24:33 GMT
In thrift an empty ByteBuffer (in some cases an empty string "") can mean
both start and end

Thus:
start: "", end "" is the entire slice
start: "c", end "" start at c inclusive rest of slice


On Thu, May 30, 2013 at 2:37 PM, Kanwar Sangha <kanwar@mavenir.com> wrote:

>  Hi – We gave a dynamic CF which has a key and multiple columns which get
> added dynamically. For example –****
>
> ** **
>
> Key_1  , Column1, Column2, Column3,…….****
>
> Key_2 ,  Column1, Column2, Column3,…..****
>
> ** **
>
> Now I want to get all columns after Column3…how do we query that ? The ColumnSliceIterator
> in hector allows to specify a start_column and end_column name. But if we
> don’t know the end_column name, will that still work ?****
>
> ** **
>
> Thanks,****
>
> Kanwar****
>
> ** **
>

Mime
View raw message