struct

Cassandra::DBApi::TimeUuid

Inherits Cassandra::DBApi::CommonUuid / Struct / Value / Object

Represents the Cassandra timeuuid type.

Constructors

new(s : String)

Initialises the UUID from a string.

Source
new(cass_uuid : Cassandra::LibCass::CassUuid)

Initialises the UUID from a Cassandra UUID.

Source
new

Autogenerates a Time UUID.

Source

Instance methods

to_time

Extracts the time part of the timeuuid.

Source