Available on crate feature
io_ipc
only.Expand description
APIs to write to Arrow’s IPC format.
Structs§
- Dictionary
Tracker - Keeps track of dictionaries that have been written, to avoid emitting the same dictionary
multiple times. Can optionally error if an update to an existing dictionary is attempted, which
isn’t allowed in the
FileWriter
. - Encoded
Data - Stores the encoded data, which is an ipc::Schema::Message, and optional Arrow data
- File
Writer - Arrow file writer
- Record
- An array
RecordBatchT
with optional accompanying IPC fields. - Stream
Writer - Arrow stream writer
- Write
Options - Options declaring the behaviour of writing to IPC
Enums§
- Compression
- Compression codec
Functions§
- default_
ipc_ fields - Assigns every dictionary field a unique ID
- dictionaries_
to_ encode - Find the dictionary that are new and need to be encoded.
- encode_
dictionary - Encode a dictionary array with a certain id.
- encode_
new_ dictionaries - encode_
record_ batch - Write
RecordBatchT
into two sets of bytes, one for the header (ipc::Schema::Message) and the other for the batch’s data - schema_
to_ bytes - Converts a ArrowSchema and IpcFields to a flatbuffers-encoded arrow_format::ipc::Message.
- write
- Writes an
Array
toarrow_data