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
Stats - Column statistics.
- Compact
Space U64Accessor - Exposes the compact space compressed values as u64.
- Empty
Column Values - Empty column of values.
- VecColumn
- VecColumn provides
Column
over aVec<T>
.
Enums§
- Codec
Type - Available codecs to use to encode the u64 (via
MonotonicallyMappableToU64
) converted data.
Constants§
- ALL_
U64_ CODEC_ TYPES - List of all available u64-base codecs.
Traits§
- Column
Values ColumnValues
provides access to a dense field column.- Monotonically
Mappable ToU64 - Monotonic maps a value to u64 value space.
Monotonic mapping enables
PartialOrd
on u64 space without conversion to original space. - Monotonically
Mappable ToU128 - Montonic maps a value to u128 value space
Monotonic mapping enables
PartialOrd
on u128 space without conversion to original space. - Strictly
Monotonic Fn - 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 - Load u64-based column values.
- monotonic_
map_ column - Creates a view of a column transformed by a strictly monotonic mapping. See
StrictlyMonotonicFn
. - open_
u128_ as_ compact_ u64 - Returns the u64 representation of the u128 data. The internal representation of the data as u64 is useful for faster processing.
- open_
u128_ mapped - Returns the correct codec reader wrapped in the
Arc
for the data. - serialize_
and_ load_ u64_ based_ column_ values - Helper function to serialize a column (autodetect from all codecs) and then open it
- serialize_
column_ values_ u128 - Serializes u128 values with the compact space codec.
- serialize_
u64_ based_ column_ values - Serializes a given column of u64-mapped values.