Expand description
Data part of a shard.
StructsΒ§
- Data
Batch - Data part batches returns by
DataParts::read
. - Data
Batch πRange - Range of a data batch.
- Data
Buffer - Buffer for the value part (pk_index, ts, sequence, op_type, field columns) in a shard.
- Data
Buffer πReader - Data
Buffer πReader Builder - Data
Part πEncoder - Data
Part Reader - Data
Parts - Data parts under a shard.
- Data
Parts Reader - Reader for all parts inside a
DataParts
. - Data
Parts Reader Builder - Inner
Key π - Parquet
Part - Parquet-encoded
DataPart
.
EnumsΒ§
- Data
Part - Format of immutable data part.
- Lazy
Field πVector - Lazy
Mutable πVector Builder
ConstantsΒ§
- DATA_
INIT_ πCAP - Initial capacity for the data buffer.
- PK_
INDEX_ πCOLUMN_ NAME
FunctionsΒ§
- build_
row_ πsort_ indices_ and_ columns - build_
rows_ πto_ sort - drain_
data_ πbuffer_ to_ record_ batches - Converts
DataBuffer
to record batches, with rows sorted according to pk_weights.dedup
: whether to true to remove the duplicated rows insideDataBuffer
.replace_pk_index
: whether to replace the pk_index values with corresponding pk weight. - memtable_
schema_ πto_ encoded_ schema - pk_
index_ πarray - Gets
pk_index
array from record batch. - search_
next_ πpk_ range - Searches for next pk index, and itβs offset range in a sorted
UInt16Array
. - timestamp_
array_ πto_ i64_ slice