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.
Required Associated Types§
Required Associated Constants§
sourceconst COLUMN_FAMILY_NAME: ColumnFamilyName
const COLUMN_FAMILY_NAME: ColumnFamilyName
The column family name associated with this struct. Note: all schemas within the same SchemaDB must have distinct column family names.