Skip to main content

Crate common_recordbatch

Crate common_recordbatch 

Source

Re-exportsยง

pub use recordbatch::RecordBatch;

Modulesยง

adapter
cursor
error
Error of record batch.
ext
filter
Precise single-column predicates and record batch filtering.
memory ๐Ÿ”’
Scan memory reservations held for reader lifetimes.
recordbatch
util

Structsยง

BinaryFormatter ๐Ÿ”’
BinaryFormatterFactory ๐Ÿ”’
CallbackMemoryMetrics ๐Ÿ”’
CallbackMemoryMetricsInner ๐Ÿ”’
DfRecordBatch
A two-dimensional batch of column-oriented data with a defined schema.
EmptyRecordBatchStream
EmptyRecordBatchStream can be used to create a RecordBatchStream that will produce no results
MemoryTrackedStream
A wrapper stream that tracks memory usage of RecordBatches.
OrderOption
QueryMemoryReservation
Reserved scan memory, released automatically on drop.
QueryMemoryTracker
Memory tracker for RecordBatch streams and reader reservations. Clone to share the same limit across queries. Limited accounting rounds up to KB; unlimited accounting is byte-exact. Exhaustion fails immediately. DataFusion operators use the separate query runtime pool.
QueryMemoryTrackerBuilder
Builder for constructing a QueryMemoryTracker with optional callbacks.
RecordBatchStreamWrapper
Adapt a [Stream] of RecordBatch to a RecordBatchStream.
RecordBatches
SendableRecordBatchMapper
A wrapper that maps a RecordBatchStream to a new RecordBatchStream by applying a function to each RecordBatch.
SimpleRecordBatchStream
StreamMemoryTracker ๐Ÿ”’

Traitsยง

RecordBatchStream

Functionsยง

map_dictionary_to_values
Expands dictionary arrays to their value arrays according to mapped_schema.
map_dictionary_to_values_data_type
Replaces dictionary types with their value types, including dictionaries nested in lists and structs.
map_dictionary_to_values_schema
Maps dictionary columns in a schema to their value types.
map_json_type_to_string
Maps the json type to string in the batch.
map_json_type_to_string_schema
Maps the json type to string in the schema.

Type Aliasesยง

DfSendableRecordBatchStream
Trait for a [Stream] of RecordBatches that can be passed between threads
RejectCallback ๐Ÿ”’
SendableRecordBatchStream
UnitCallback ๐Ÿ”’
UpdateCallback ๐Ÿ”’