Expand description
Structures to describe metadata of files.
Structsยง
- Column
Index Metadata - Metadata of indexes created for a specific column in an SST file.
- Debug
Fmt ๐ - Formats a debug field with a custom closure, as a stable replacement for
the unstable
DebugStruct::field_with. - File
Handle - Handle to a SST file.
- File
Handle ๐Inner - Inner data of FileHandle.
- File
Meta - Metadata of a SST file.
- Narthex
Part Meta - Region-manifest metadata for one immutable Narthex part.
- Narthex
Samples Meta - Narthex samples objects owned by one immutable file ID.
Common bounds, statistics and sequence semantics remain in
FileMeta. - Narthex
Series Index Meta - Immutable narthex series index. Coverage identifies samples; it does not own them.
- Region
File Id - Cross-region file id.
- Region
Index Id - Unique identifier for an index file, combining the SST file ID and the index version.
- SstLifetime ๐
- Physical deletion must wait for readers of every index metadata version. Independent logical references (for example, copied regions) do not share this guard.
- Uncommitted
Ssts ๐ - Tracks SSTs from creation until their manifest edit is committed.
- Window
Sequence - Sequence summary of a half-open time window in Unix seconds.
Enumsยง
- File
Format - Physical encoding of an immutable SST. Legacy manifests contain Parquet files.
- Index
Type - Type of index.
- Primary
KeyRange ๐ - A single-slot cache shared by file handles. Always retain the source bounds so older snapshots and changed defaults can realign without interpreting padded values as stored.
- Uncommitted
File ๐
Constantsยง
- LEVEL_
SHARED - Shared inputs owned by table compaction, not a deeper region-compaction level. This sentinel is persisted; L0=0 and L1=1 retain their original meanings, and taking the maximum value keeps every future ordinary level below it.
- LEVEL_
SLOT_ ๐COUNT - Number of level storage slots: L0, L1 and the shared slot.
- SHARED_
LEVEL_ ๐SLOT - Storage slot that holds shared references inside the fixed level array.
Functionsยง
- delete_
files - Delete files for a region.
- delete_
index - delete_
index_ ๐and_ purge - delete_
indexes - deserialize_
bytes_ ๐option - deserialize_
level ๐ - deserialize_
partition_ ๐expr - is_
false ๐ - is_
supported_ ๐level - is_zero ๐
- is_
zero_ ๐u64 - known_
max_ ๐input_ sequence - Folds file-level sequence bounds into the output sequence bound of a merge.
- level_
slot ๐ - Maps a persisted level to its storage slot, if the level is representable.
- overlaps ๐
- Checks if two inclusive timestamp ranges overlap with each other.
- purge_
index_ ๐cache_ stager - purge_
indexes ๐ - serialize_
bytes_ ๐option - Custom serde functions for Bytes fields serialized as base64 strings.
- serialize_
partition_ ๐expr - Custom serde functions for partition_expr field in FileMeta
- series_
windows_ ๐cover - Checks the collective watermark across every window spanned by a sample SST.
Type Aliasesยง
- File
Meta Ref - Shared immutable metadata of an SST file.
- File
Time Range - Time range (min and max timestamps) of a SST file. Both min and max are inclusive.
- Index
Types - Type to store index types for a column.
- Level
- Type to store SST level.
- Partition
Expr Ref - Shared immutable partition expression.
- Primary
KeyBounds ๐