Module tantivy_columnar::column_values
source · Expand description
§fastfield_codecs
- Columnar storage of data for tantivy
crate::Column
. - Encode data in different codecs.
- Monotonically map values to u64/u128
Structs§
- Column statistics.
- Exposes the compact space compressed values as u64.
- Empty column of values.
- VecColumn provides
Column
over aVec<T>
.
Enums§
- Available codecs to use to encode the u64 (via
MonotonicallyMappableToU64
) converted data.
Constants§
- List of all available u64-base codecs.
Traits§
ColumnValues
provides access to a dense field column.- Monotonic maps a value to u64 value space. Monotonic mapping enables
PartialOrd
on u64 space without conversion to original space. - Montonic maps a value to u128 value space Monotonic mapping enables
PartialOrd
on u128 space without conversion to original space. - Values need to be strictly monotonic mapped to a
Internal
value (u64 or u128) that can be used in fast field codecs.
Functions§
- Load u64-based column values.
- Creates a view of a column transformed by a strictly monotonic mapping. See
StrictlyMonotonicFn
. - Returns the u64 representation of the u128 data. The internal representation of the data as u64 is useful for faster processing.
- Returns the correct codec reader wrapped in the
Arc
for the data. - Helper function to serialize a column (autodetect from all codecs) and then open it
- Serializes u128 values with the compact space codec.
- Serializes a given column of u64-mapped values.