incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe <watche...@gmail.com>
Subject Re: Two dimensional matrices
Date Mon, 12 Apr 2010 22:23:07 GMT
>
> Alright, so assuming we're looking for a slice of the grid against a
> given time-frame, that would look something like:
>
> get_range_slice(
>    keyspaceName,
>    ColumnParent(CFname, timeFrame),
>    SlicePredicate(
>        slice_range=SliceRange(xstart, xend, false, colCount)
>    ),
>    ystart,
>    yend,
>    rowCount,
>    consistencyLevel,
> )
>
> Does that help?
>
Yes it confirms my understanding, thanks.

However, you are also saying there is no way to also take into account the
"timeFrame" supercolumn in the same API call ? IE, it is not possible to get
back a data structure keyed by 'key,supercolumn,column' hence y,x and
timeframe which I can then process to my heart's delight ?

Philippe

Mime
View raw message