abstractclass Cassandra::Type
Base class for all cassandra types.
- Abstract
- This class exists for documentation purposes only
Inherits
Object
Direct Known Subclasses
Types::Ascii
Types::Bigint
Types::Blob
Types::Boolean
Types::Counter
Types::Custom
Types::Date
Types::Decimal
Types::Double
Types::Float
Types::Frozen
Types::Inet
Types::Int
Types::List
Types::Map
Types::Set
Types::Smallint
Types::Text
Types::Time
Types::Timestamp
Types::Timeuuid
Types::Tinyint
Types::Tuple
Types::UserDefined
Types::Uuid
Types::Varint
Methods
self.
new
(kind)Returns a new instance of Type
kind
Returns shorthand type name
new
(*values)Coerces a given value to this type
assert
(value, message = nil, &block)Asserts that a given value is of this type
- Void
- Return value of this method is ignored.
to_s
Returns a cassandra representation of this type