Function tantivy_columnar::column_values::open_u128_as_compact_u64
source · pub fn open_u128_as_compact_u64(
bytes: OwnedBytes
) -> Result<Arc<dyn ColumnValues<u64>>>
Expand description
Returns the u64 representation of the u128 data. The internal representation of the data as u64 is useful for faster processing.
In order to convert to u128 back cast to CompactSpaceU64Accessor
and call
compact_to_u128
.
§Notice
In case there are new codecs added, check for usages of CompactSpaceDecompressorU64
and
also handle the new codecs.