Re: Timeuuid inserted with now(), how to get the value back in Java client?

2014-04-01 Thread Vivek Mishra
You would get UUID object from cassandra API. Then you may use uuid.timestamp() to get time stamp for the same -Vivek On Tue, Apr 1, 2014 at 9:55 PM, Theo Hultberg wrote: > no, there's no way. you should generate the TIMEUUID on the client side so > that you have it. > > T# > > > On Sat, Mar 2

Re: Timeuuid inserted with now(), how to get the value back in Java client?

2014-04-01 Thread Theo Hultberg
no, there's no way. you should generate the TIMEUUID on the client side so that you have it. T# On Sat, Mar 29, 2014 at 1:01 AM, Andy Atj2 wrote: > I'm writing a Java client to a Cassandra db. > > One of the main primary keys is a timeuuid. > > I plan to do INSERTs using now() and have Cassand

Timeuuid inserted with now(), how to get the value back in Java client?

2014-03-28 Thread Andy Atj2
I'm writing a Java client to a Cassandra db. One of the main primary keys is a timeuuid. I plan to do INSERTs using now() and have Cassandra generate the value of the timeuuid. After the INSERT, I need the Cassandra-generated timeuuid value. Is there an easy wsay to get it, without having to re-