Better would be to just reverse client-side.
On Sun, Dec 26, 2010 at 10:35 PM, Roshan Dawrani
wrote:
> Thanks, but unfortunately, I need to fetch multiple super columns - each
> super column represents a particular "state" and as entities transition from
> one state to another, they move from one
Thanks, but unfortunately, I need to fetch multiple super columns - each
super column represents a particular "state" and as entities transition from
one state to another, they move from one super column to another.
So, there is no way currently I can retrieve multiple super columns with
their sub
If you are fetching multiple supercolumns, then that's what you can
control the order of. If you are slicing within a single supercolumn,
the reverse parameter will affect the order of subcolumns.
On Sun, Dec 26, 2010 at 6:11 AM, Roshan Dawrani wrote:
> Hi Ran,
> I am not doing it the YAML way.
Hi Ran,
I am not doing it the YAML way. I am defining my SCF through Hector API as
below
ThriftCfDef cfDef = HFactory.createColumnFamilyDefinition(ksName, "SCF")
cfDef.setColumnMetadata(...)
cfDef.setColumnType(ColumnType.SUPER)
cfDe
Roshan, in cassandra.yaml did you define compare_subcolumns_with for the
SCF?
The subcolumn names are the timeuuid, not the subcolumn values, right?
On Sun, Dec 26, 2010 at 9:14 AM, Roshan Dawrani wrote:
> Hi,
>
> I have a super ColumnFamily that has a few super columns, with each having
> a gro
Hi,
I have a super ColumnFamily that has a few super columns, with each having a
growing list of sub-columns where column name is a TimeUUID, so the
sub-columns get stored chronologically (oldest to newest)
When I retrieve this data, can I somehow retrieve the sub-columns in reverse
order - newes