> I'm confused : don't range queries such as the ones we've been
> > discussing require using an orderedpartitionner ?
>
> Alright, so distribution depends on your choice of token.
>
Ah yes, I get it now : with a naive orderedpartitioner, the key is
associated with the node whose token is the clos
On Tue, 2010-04-13 at 16:05 +0200, Philippe wrote:
> I'm confused : don't range queries such as the ones we've been
> discussing require using an orderedpartitionner ?
Alright, so distribution depends on your choice of token.
--
Eric Evans
eev...@rackspace.com
I'm confused : don't range queries such as the ones we've been discussing
require using an orderedpartitionner ?
Le 13 avr. 2010 15:58, "Eric Evans" a écrit :
On Tue, 2010-04-13 at 08:57 +0200, Philippe wrote:
> Okay so if i switch columns and super columns i...
Sure.
> Assuming this is all co
On Tue, 2010-04-13 at 08:57 +0200, Philippe wrote:
> Okay so if i switch columns and super columns in my model i get what i
> want
> don't i?
>
> Super column = x
> Column = time frame
> Now i can get 2d range extracts from the grid and every cell will
> contain all time frame data. Is this correc
Okay so if i switch columns and super columns in my model i get what i want
don't i?
Super column = x
Column = time frame
Now i can get 2d range extracts from the grid and every cell will contain
all time frame data. Is this correct ?
I suppose that if that becomes too much data to retrieve, i can
On Tue, 2010-04-13 at 00:45 +0200, Philippe wrote:
> > 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
>
>
> > 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 deligh
On Tue, 2010-04-13 at 00:23 +0200, Philippe wrote:
> > 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(
> >s
>
> 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)
>),
>
On Mon, 2010-04-12 at 22:40 +0200, Philippe wrote:
> If I understand what you're asking, a rectangle (identified by X and Y
> > coordinates for a time-frame), will boil down to a single column.
> There
> > are certainly no problems with retrieving a single sub-column from a
> > super column.
> >
>
Eric, Dop,
Thanks for your answers.
If I understand what you're asking, a rectangle (identified by X and Y
> coordinates for a time-frame), will boil down to a single column. There
> are certainly no problems with retrieving a single sub-column from a
> super column.
>
I realize I wasn't clear eno
On Mon, 2010-04-12 at 01:31 +0200, Philippe wrote:
> I have data that is two dimensional, time varying (think of a grid).
> At each
> cell of this grid,I store a binary array.
> My data model will be
>
>- single keyspace
>- key = {Y dimension}
>- super column family = {type of data rep
lumn).
From: Philippe [mailto:watche...@gmail.com]
Sent: Monday, April 12, 2010 7:31 AM
To: user@cassandra.apache.org
Subject: Two dimensional matrices
Hello,
I would like to know if the following is indeed possible with Cassandra,
from my understanding of key & column slices
Hello,
I would like to know if the following is indeed possible with Cassandra,
from my understanding of key & column slices it is but I am just beggining
to get my head around Cassandra...
I have data that is two dimensional, time varying (think of a grid). At each
cell of this grid,I store a b
14 matches
Mail list logo