dart_cassandra_cql.types library

Classes

BatchType
Compression
Consistency
CustomType
DataType
Enum<T>
An abstract class for modeling enums
ErrorCode
EventRegistrationType
EventType
Frame
FrameHeader
HeaderFlag
HeaderVersion
Opcode
ProtocolVersion
QueryFlag
ResultType
RowResultFlag
Tuple
A simple typed wrapper over a standard list so we can distinguish between tuples and iterables during serialization
TypeSpec
Uuid

Functions

getCodec(String typeClassName) Codec<Object, Uint8List>
Get a Codec<Object, Uint8List for handling serialization/deserialization of custom cassandra data type with class typeClassName
registerCodec(String typeClassName, Codec<Object, Uint8List> codec) → void
Register a Codec<Object, Uint8List for handling serialization/deserialization of a data type with class typeClassName. typeClassName can either be a cassandra custom type fully qualified java class name or a Compression enum value when registering a compression codec to be used for communicating with cassandra
unregisterCodec(String typeClassName) → void
Unregister any previously registered Codec<Object, Uint8List for handling serialization/deserialization of data type with class typeClassName