class Cequel::Type::Timeuuid

`timeuuid` columns are a special type of UUID column that support time-based queries. For instance, a `timeuuid` clustering column can be filtered by ranges of times into which the UUIDs must fall. This functionality presumes the use of type 1 UUIDs, which encode the timestamp of their creation.

@see cassandra.apache.org/doc/latest/cql/types.html

CQL3 data type documentation

Public Instance Methods

cast(value) click to toggle source
Calls superclass method Cequel::Type::Uuid#cast
# File lib/cequel/type.rb, line 461
def cast(value)
  Cassandra::TimeUuid.new(super.value)
end
internal_names() click to toggle source
# File lib/cequel/type.rb, line 465
def internal_names
  ['org.apache.cassandra.db.marshal.TimeUUIDType']
end