You can either write a TimeUUID Partitioner, if that is the only kind of key you have in your cluster, or use a different partitioner and prefix the keys w/ a date in a format that sorts correctly in whatever collation you are using, e.g. ISO 8601 for our standard OrderedPartitioner.
On Wed, Dec 16, 2009 at 1:08 PM, Richard Grossman <[email protected]> wrote: > I've the same requirement but in my case the date is the key of the CF so > how to use the timeUUID if the date is the key and not a column ?? > > > On Wed, Dec 16, 2009 at 8:29 PM, Jonathan Ellis <[email protected]> wrote: >> >> On Wed, Dec 16, 2009 at 12:15 PM, Adam Fisk <[email protected]> wrote: >> > That call made sense for columns, but not for SuperColumns of course, >> > and that was the culprit. Ideally the various slice calls would do a >> > quick check to make sure both the SlicePredicate and the ColumnParent >> > are either both referring to SuperColumns or are both referring to >> > Columns and fail fast if not, but now I'm just nitpicking. >> >> That is a good suggestion. Can you create a ticket? >> >> -Jonathan > >
