Module schema

Module schema 

Source

Re-exports§

pub use crate::schema::constraint::ColumnDefaultConstraint;

Modules§

column_schema 🔒
constraint
raw 🔒

Structs§

ColumnSchema
Schema of a column, used as an immutable struct.
FieldsAndIndices 🔒
FulltextOptions
Fulltext options for a column.
RawSchema
Struct used to serialize and deserialize Schema.
Schema
A common schema, should be immutable.
SchemaBuilder
SkippingIndexOptions
Skipping options for a column.
VectorIndexOptions
Options for vector index (HNSW).

Enums§

ColumnExtType
Column extended type set in column schema’s metadata.
FulltextAnalyzer
Fulltext analyzer.
FulltextBackend
The backend of the fulltext index.
SkippingIndexType
Skip index types.
VectorDistanceMetric
Distance metric for vector similarity search.
VectorIndexEngineType
Supported vector index engine types.

Constants§

COLUMN_FULLTEXT_CHANGE_OPT_KEY_ENABLE
Keys used in fulltext options
COLUMN_FULLTEXT_OPT_KEY_ANALYZER
COLUMN_FULLTEXT_OPT_KEY_BACKEND
COLUMN_FULLTEXT_OPT_KEY_CASE_SENSITIVE
COLUMN_FULLTEXT_OPT_KEY_FALSE_POSITIVE_RATE
COLUMN_FULLTEXT_OPT_KEY_GRANULARITY
COLUMN_SKIPPING_INDEX_OPT_KEY_FALSE_POSITIVE_RATE
COLUMN_SKIPPING_INDEX_OPT_KEY_GRANULARITY
Keys used in SKIPPING index options
COLUMN_SKIPPING_INDEX_OPT_KEY_TYPE
COMMENT_KEY
FULLTEXT_KEY
Key used to store fulltext options in arrow field’s metadata.
INVERTED_INDEX_KEY
Key used to store whether the column has inverted index in arrow field’s metadata.
SKIPPING_INDEX_KEY
Key used to store skip options in arrow field’s metadata.
TIME_INDEX_KEY
Key used to store whether the column is time index in arrow field’s metadata.
TYPE_KEY
Key used to store actual column type in field metadata.
VECTOR_INDEX_KEY
Key used to store vector index options in arrow field’s metadata.
VERSION_KEY
Key used to store version number of the schema in metadata.

Functions§

collect_fields 🔒
try_parse_version 🔒
validate_timestamp_index 🔒

Type Aliases§

Metadata
SchemaRef