Skip to main content

Module enum_column

Module enum_column 

Source
Expand description

Enum8 and Enum16 column types. Enum8 and Enum16 column implementations.

ClickHouse enums map string names to integer values. Enum8 uses Int8 storage (up to 127 distinct values) and Enum16 uses Int16 storage (up to 32767 distinct values). The name-to-value mapping is stored in the column’s Type.

Structs§

ColumnEnum8
Column for Enum8 type (stored as Int8 with name-value mapping in Type).
ColumnEnum16
Column for Enum16 type (stored as Int16 with name-value mapping in Type).