Crate tantivy_columnar

Source
Expand description

§Tantivy-Columnar

tantivy-columnarprovides a columnar storage for tantivy. The crate allows for efficient read operations on specific columns rather than entire records.

§Overview

  • columnar: Reading, writing, and merging multiple columns:

    • ColumnarWriter: Makes it possible to create a new columnar.
    • ColumnarReader: The ColumnarReader makes it possible to access a set of columns associated to field names.
    • merge_columnar: Contains the functionalities to merge multiple ColumnarReader or segments into a single one.
  • column: A single column, which contains

    • column_index: Resolves the rows for a document id. Manages the cardinality of the column.
    • column_values: Stores the values of a column in a dense format.

Re-exports§

pub use column_index::ColumnIndex;
pub use column_values::ColumnValues;
pub use column_values::EmptyColumnValues;
pub use column_values::MonotonicallyMappableToU128;
pub use column_values::MonotonicallyMappableToU64;

Modules§

column_index
column_index
column_values
fastfield_codecs

Structs§

BytesColumn
Dictionary encoded column.
Column
ColumnBlockAccessor
ColumnarReader
The ColumnarReader makes it possible to access a set of columns associated to field names.
ColumnarWriter
Makes it possible to create a new columnar.
DateTime
A date/time value with nanoseconds precision.
Dictionary
An SSTable is a sorted map that associates sorted &[u8] keys to any kind of typed values.
DynamicColumnHandle
InvalidData
RowAddr
ShuffleMergeOrder
StackMergeOrder
StrColumn

Enums§

Cardinality
Enum describing the number of values that can exist per document (or per row if you will).
ColumnType
The column type represents the column type. Any changes need to be propagated to COLUMN_TYPES.
DynamicColumn
MergeRowOrder
NumericalType
NumericalValue

Traits§

HasAssociatedColumnType

Functions§

merge_columnar
Merge several columnar table together.

Type Aliases§

DocId
RowId
Streamer