Expand description
Encoder to create FlightData
streams from RecordBatch
streams.
See FlightDataEncoderBuilder
.
Structsยง
- Flight
Data Encoder - Stream that encodes a stream of record batches to flight data.
- Flight
Data Encoder Builder - Creates a [
Stream
] ofFlightData
s from aStream
ofResult
<[RecordBatch
],FlightError
>. - Flight
IpcEncoder ๐ - The data needed to encode a stream of flight data, holding on to shared Dictionaries.
Enumsยง
- Dictionary
Handling - Defines how a
FlightDataEncoder
encodesDictionaryArray
s
Constantsยง
- GRPC_
TARGET_ MAX_ FLIGHT_ SIZE_ BYTES - Default target size for encoded
FlightData
.
Functionsยง
- hydrate_
dictionaries ๐ - Hydrates any dictionaries arrays in
batch
to its underlying type. See hydrate_dictionary for more information. - hydrate_
dictionary ๐ - Hydrates a dictionary to its underlying type.
- prepare_
field_ ๐for_ flight - prepare_
schema_ ๐for_ flight - Prepare an arrow Schema for transport over the Arrow Flight protocol
- split_
batch_ ๐for_ grpc_ response - Split [
RecordBatch
] so it hopefully fits into a gRPC response.