cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marlon Patrick <marlonpatric...@gmail.com>
Subject Re: Convert timeuuid in timestamp programmatically
Date Mon, 16 Nov 2015 12:38:37 GMT
Hi Donfeng,

I'm interested in convert a timeuuid already generated in a timestamp,
similar to dateOf function of the Cassandra, but in Java code. The your
sugestion is for generate a timeuuid.

2015-11-15 19:42 GMT-03:00 Dongfeng Lu <dlu66061@yahoo.com>:

> You can use long java.util.UUID.timestamp().
>
>
>
> On Sunday, November 15, 2015 9:20 AM, Marlon Patrick <
> marlonpatrick10@gmail.com> wrote:
>
>
> Hi guys,
>
> Is there any way to convert a timeuuid in timestamp (dateOf)
> programmatically using DataStax java driver?
>
> --
> Atenciosamente,
>
> Marlon Patrick
>
>
>


-- 
Atenciosamente,

Marlon Patrick

Mime
View raw message