class Cassandra::Uuid
Represents a UUID value.
This is a very basic implementation of UUIDs and exists more or less just to encode and decode UUIDs from and to Cassandra.
If you want to generate UUIDs see Generator
.
Inherits
Object
Classes
Direct Known Subclasses
Methods
self.
new
(uuid)Creates a new UUID either from a string (expected to be on the standard 8-4-4-4-12 form, or just 32 characters without hyphens), or from a 128 bit number.
to_s
Returns a string representation of this UUID in the standard 8-4-4-4-12 form.
hash
value
aliased as: to_iReturns the numerical representation of this UUID