abstractclass Cassandra::Type
Base class for all cassandra types.
- Abstract
- This class exists for documentation purposes only
Inherits
ObjectDirect Known Subclasses
Types::AsciiTypes::BigintTypes::BlobTypes::BooleanTypes::CounterTypes::CustomTypes::DateTypes::DecimalTypes::DoubleTypes::FloatTypes::InetTypes::IntTypes::ListTypes::MapTypes::SetTypes::SmallintTypes::TextTypes::TimeTypes::TimestampTypes::TimeuuidTypes::TinyintTypes::TupleTypes::UserDefinedTypes::UuidTypes::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
