Trait schemadb::schema::Schema [−][src]
pub trait Schema {
type Key: KeyCodec<Self>;
type Value: ValueCodec<Self>;
const COLUMN_FAMILY_NAME: ColumnFamilyName;
}Expand description
This trait defines a schema: an association of a column family name, the key type and the value type.
Associated Types
Associated Constants
The column family name associated with this struct. Note: all schemas within the same SchemaDB must have distinct column family names.