TimeUUID vs timestamp in Cassandra? -


if can extract time timeuuid, make sense use timestamp column in cassandra?

also how can extract time timeuuid , make range queries(eg. jan 2016 may 2016) on it?

you don't need store timestamp in different column, if have choosen use timeuuid.

you looking this.

please take notice min , max. lsb bits determine uniqueness. i.e last 8 bits can range 00000000 ffffffff.

so please prepare range query accordingly.

hope helps!


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -