struct Cassandra::DBApi::TimeUuid
- Cassandra::DBApi::TimeUuid
- Struct
- Value
- Object
Overview
Represents the Cassandra timeuuid type.
Included Modules
Defined in:
cassandra/dbapi/types.crConstructors
-
.new(s : String)
Initialises the UUID from a string.
-
.new(cass_uuid : Cassandra::LibCass::CassUuid)
Initialises the UUID from a Cassandra UUID.
-
.new
Autogenerates a Time UUID.
Instance Method Summary
-
#to_time : ::Time
Extracts the time part of the timeuuid.
Constructor Detail
def self.new(cass_uuid : Cassandra::LibCass::CassUuid)
#
Initialises the UUID from a Cassandra UUID.