Re: Long type column names in reverse order

2012-04-20 Thread Tarun Gupta
);* * }* *}* Regards, Tarun On Fri, Apr 20, 2012 at 11:46 PM, Edward Capriolo wrote: > I think you can drop the compiler since that feature already exists. > > http://thelastpickle.com/2011/10/03/Reverse-Comparators/ > > > On Fri, Apr 20, 2012 at 12:57 PM, Tarun Gupta > wrot

Long type column names in reverse order

2012-04-20 Thread Tarun Gupta
Hi, My requirements is to get retrieve column values, sorted by column names in reverse order (column names are 'long' type). The way I am trying to implement this is by using a custom comparator. I have written the custom comparator by using 'org.apache.cassandra.db.marshal.BytesType' and alterin

By passing Socket communication

2012-04-19 Thread Tarun Gupta
Hi, I am interesting in knowing what is the best way to create my Cassandra Client bypassing the Socket communication and directly interacting with the 'Storage Manager'. I checked Cassandra Wiki and some of the Hector Examples, mostly what I see is that Cassandra when run in embedded mode, requir