Available on crate feature
io_ipc
only.Expand description
APIs to read Arrow’s IPC format.
The two important structs here are the FileReader
,
which provides arbitrary access to any of its messages, and the
StreamReader
, which only supports reading
data in the order it was written in.
Structs§
- File
Metadata - Metadata of an Arrow IPC file, written in the footer of the file.
- File
Reader - An iterator of
RecordBatchT
s from an Arrow IPC file. - Flight
Consumer - Flight
Stream Producer - Flightstream
Consumer - Projection
Info - Stream
Metadata - Metadata of an Arrow IPC stream, written at the start of the stream
- Stream
Reader - Arrow Stream reader.
Enums§
- OutOf
Spec Kind - The different types of errors that reading from IPC can cause
- Stream
State - Encodes the stream’s status after each read.
Traits§
Functions§
- deserialize_
footer - deserialize_
schema - Deserialize an flatbuffers-encoded Schema message into
ArrowSchema
andIpcSchema
. - get_
row_ count - Read the row count by summing the length of the of the record batches
- get_
row_ count_ from_ blocks - Read the row count by summing the length of the of the record batches in blocks
- into_
flight_ stream - prepare_
projection - read_
batch - Reads the record batch at position
index
from the reader. - read_
file_ dictionaries - Reads all file’s dictionaries, if any This function is IO-bounded
- read_
file_ metadata - Read the Arrow IPC file’s metadata
- read_
stream_ metadata - Reads the metadata of the stream
Type Aliases§
- Dictionaries
- how dictionaries are tracked in this crate