Crate arrow_flight

source ·
Expand description

A native Rust implementation of Apache Arrow Flight for exchanging Arrow data between processes.

Please see the arrow-flight crates.io page for feature flags and more information.

Overview

This crate contains:

  1. Low level prost generated structs for Flight gRPC protobuf messages, such as FlightData.

  2. Low level tonic generated flight_service_client and flight_service_server.

Re-exports

pub use client::FlightClient;

Modules

Decoder to create RecordBatch streams from FlightData streams. See FlightRecordBatchStream.
Encoder to create FlightData streams from RecordBatch streams. See FlightDataEncoderBuilder.
Common error types
Defines a Flight for generation or retrieval.
Utilities to assist with reading and writing Arrow data as Flight messages

Structs

An opaque action specific for the service.
Describes an available action, including both the name used for execution along with a short description of the purpose of the action.
A message for doing simple auth.
A service specific expression that can be used to return a limited set of available Arrow Flight streams.
A batch of Arrow data as part of a stream of batches.
The name or tag for a Flight. May be used as a way to retrieve or generate a flight or be used to expose a set of previously defined flights.
A particular stream or split associated with a flight.
The access coordinates for retrieval of a dataset. With a FlightInfo, a consumer is able to determine how to retrieve a dataset.
The request that a client provides to a server on handshake.
IpcMessage represents a Schema in the format expected in FlightInfo.schema
A location where a Flight service will accept retrieval of a particular stream given a ticket.
An opaque result returned after executing an action.
SchemaAsIpc represents a pairing of a Schema with IpcWriteOptions
Wrap the result of a getSchema call
An opaque identifier that the service can use to retrieve a particular portion of a stream.