Expand description
Common structs and utilities for reading data.
Modulesยง
- batch_
adapter - Adapter to convert
BoxedBatchIterator(primary key format) into an iterator of flat-format Arrow [RecordBatch]es, allowing memtable iterators that only produceBatchto feed into the flat read pipeline. - compat
- Utilities to adapt readers with different schema.
- dedup
- Utilities to remove duplicate rows from a sorted batch.
- flat_
dedup - Dedup implementation for flat format.
- flat_
merge - flat_
projection - Utilities for projection on flat format.
- last_
row - Utilities to read the last row of each time series.
- projection
- Projection helpers shared by flat projection code.
- prune ๐
- pruner ๐
- Pruner for parallel file pruning across scanner partitions.
- range
- Structs for partition ranges.
- range_
cache ๐ - Utilities for the partition range scan result cache.
- read_
columns - scan_
region - Scans a region according to the scan request.
- scan_
util - Utilities for scanners.
- seq_
scan ๐ - Sequential scan.
- series_
candidate ๐ - Candidate metric-series discovery for the two-stage series scan.
- series_
reader ๐ - Reads selected metric series from partition ranges.
- series_
scan - Per-series scan implementation.
- stream
- unordered_
scan ๐ - Unordered scanner.
Structsยง
- Batch
- Storage internal representation of a batch of rows for a primary key (time series).
- Batch
Builder - Builder to build Batch.
- Batch
Column - A column in a Batch.
- Dense
PkCache ๐ - Only used when no fully decoded primary key was supplied by the reader.
- Flat
Source - Async [RecordBatch] reader and iterator wrapper for flat format.
- Scanner
Metrics ๐ - Local metrics for scanners.
Enumsยง
- Flat
Source ๐Inner
Constantsยง
- TIMESTAMP_
KEY_ ๐LEN - Len of timestamp in arrow row format.
Functionsยง
- concat_
arrays ๐ - Helper function to concat arrays from
iter. - timestamp_
array_ ๐to_ i64_ slice
Type Aliasesยง
- Boxed
Record Batch Stream - Pointer to a stream that yields [RecordBatch].