Expand description
This module provides traits that define the behavior of a schema and its associated key and value types, along with helpers to define a new schema with ease.
Traits
- This trait defines a type that can serve as a
Schema::Key. - This trait defines a schema: an association of a column family name, the key type and the value type.
- This defines a type that can be used to seek a
SchemaIterator, via interfaces likeseek. - This trait defines a type that can serve as a
Schema::Value.
Functions
- Helper used in tests to assert a (key, value) pair for a certain
Schemais able to convert to bytes and convert back.