Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "FAQ" page has been changed by RalphGoers: http://wiki.apache.org/cassandra/FAQ?action=diff&rev1=137&rev2=138 == Why is it so hard to work with TimeUUIDType in Java? == TimeUUID's are difficult to use from java clients because java.util.UUID does not support generating version 1 (time-based) UUIDs. Here is one way to work with them and Cassandra: - Use the UUID generator from: http://johannburkard.de/software/uuid/ + Use the UUID generator from: http://johannburkard.de/software/uuid/. Note that while a Type 1 UUID uses a granularity of 100 ns this UUID generator only uses milliseconds. Even with 100 ns granularity, with a Type 1 UUID it is still possible to get a duplicate UUID in a multi-threaded application running on a processor with muliple CPUs unless the clock sequence is properly incremented, which this UUID does not do (in this implementation the clock sequence is a random number generated when the class is loaded). Below are three methods that are quite useful in working with the uuids as they come in and out of Cassandra.
