Expand description
LiquidArray is the core data structure of LiquidCache.
You should not use this module directly.
Instead, use liquid_cache_server or liquid_cache_client to interact with LiquidCache.
Re-exports§
pub use byte_view_array::LiquidByteViewArray;
Modules§
- byte_
view_ array - LiquidByteViewArray
- ipc
- IPC for liquid array.
- raw
- Low level array primitives.
You should not use this module directly.
Instead, use
liquid_cache_serverorliquid_cache_clientto interact with LiquidCache.
Structs§
- IoRange
- A range of bytes on disk.
- Liquid
Byte Array - An array that stores strings in a dictionary format, with a bit-packed array for the keys and a FSST array for the values.
- Liquid
Fixed LenByte Array - A fixed length byte array.
- Liquid
Float Array - An array that stores floats in ALP
- Liquid
Linear Array - A linear-model based integer array, only use it when you know the array is monotonic and you don’t care about encoding speed!.
- Liquid
Primitive Array - Liquid’s primitive array
- Liquid
Primitive Delta Array - Liquid’s primitive array which uses delta encoding for compression
- Squeezed
Date32 Array - A bit-packed array that stores a single extracted component (YEAR/MONTH/DAY)
from a
Date32array.
Enums§
- Date32
Field - Which component to extract from a
Date32(days since UNIX epoch). - Integer
Squeeze Policy - Squeeze policy for primitive integer arrays. Users can choose whether to clamp or quantize when squeezing.
- Liquid
Data Type - Liquid data type is only logical type
Traits§
- AsLiquid
Array - A trait to access the underlying Liquid array.
- Liquid
Array - A Liquid array.
- Liquid
Hybrid Array - A Liquid hybrid array is a Liquid array that part of its data is stored on disk.
LiquidHybridArrayis more complex than in-memoryLiquidArraybecause it needs to handle IO. - Liquid
Primitive Type - LiquidPrimitiveType is a sealed trait that represents the primitive types supported by Liquid. Implementors are: Int8Type, Int16Type, Int32Type, Int64Type, UInt8Type, UInt16Type, UInt32Type, UInt64Type
- Primitive
Kind - Compile-time info about primitive kind (signed vs unsigned) and bounds. Implemented for all Liquid-supported primitive integer and date types.
Functions§
- get_
string_ needle - Extract a string needle from a scalar value for string comparison operations.
Type Aliases§
- Liquid
Array Ref - A reference to a Liquid array.
- Liquid
Date32 Array - Liquid’s 32-bit date array.
- Liquid
Date64 Array - Liquid’s 64-bit date array.
- Liquid
Float32 Array - Liquid’s single-precision floating point array
- Liquid
Float64 Array - Liquid’s double precision floating point array
- Liquid
Hybrid Array Ref - A reference to a Liquid hybrid array.
- Liquid
I8Array - Liquid’s signed 8-bit integer array.
- Liquid
I16Array - Liquid’s signed 16-bit integer array.
- Liquid
I32Array - Liquid’s signed 32-bit integer array.
- Liquid
I64Array - Liquid’s signed 64-bit integer array.
- Liquid
Linear Date32 Array - Linear-model array for
Date32(days since epoch). - Liquid
Linear Date64 Array - Linear-model array for
Date64(ms since epoch). - Liquid
Linear I8Array - Linear-model array for
i8. - Liquid
Linear I16Array - Linear-model array for
i16. - Liquid
Linear I32Array - Backward-compatible alias for i32.
- Liquid
Linear I64Array - Linear-model array for
i64. - Liquid
Linear U8Array - Linear-model array for
u8. - Liquid
Linear U16Array - Linear-model array for
u16. - Liquid
Linear U32Array - Linear-model array for
u32. - Liquid
Linear U64Array - Linear-model array for
u64. - Liquid
U8Array - Liquid’s unsigned 8-bit integer array.
- Liquid
U16Array - Liquid’s unsigned 16-bit integer array.
- Liquid
U32Array - Liquid’s unsigned 32-bit integer array.
- Liquid
U64Array - Liquid’s unsigned 64-bit integer array.