Module batch_adapter

Module batch_adapter 

Source
Expand description

Adapter to convert BoxedBatchIterator (primary key format) into an iterator of flat-format Arrow [RecordBatch]es, allowing memtable iterators that only produce Batch to feed into the flat read pipeline.

Structsยง

BatchToRecordBatchAdapter
Adapts a BoxedBatchIterator into an Iterator<Item = Result<RecordBatch>> producing flat-format record batches.
ProjectedPkColumn ๐Ÿ”’

Functionsยง

build_repeated_value_array ๐Ÿ”’
Builds an Arrow array of num_rows copies of value.
build_string_tag_dict_array ๐Ÿ”’
Builds a dictionary-encoded string tag array with one dictionary value.
compute_output_arrow_schema ๐Ÿ”’
get_pk_value ๐Ÿ”’
Extracts a value for the given primary key column from decoded [CompositeValues].