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:
-
Low level prost generated structs for Flight gRPC protobuf messages, such as
FlightData
,FlightInfo
,Location
andTicket
. -
Low level tonic generated
flight_service_client
andflight_service_server
. -
Experimental support for Flight SQL in
sql
. Requires theflight-sql-experimental
feature of this crate to be activated.
Re-exports§
pub use client::FlightClient;
Modules§
- Mid Level
FlightClient
- Common error types
- Defines a
Flight
for generation or retrieval. - Low Level tonic
FlightServiceClient
. - gen π
- Support for execute SQL queries using Apache Arrow Flight SQL.
- streams π
FallibleRequestStream
andFallibleTonicResponseStream
adapters - trailers πHelper to extract HTTP/gRPC trailers from a tonic stream.
- 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.
- The request of the CancelFlightInfo action.
- The result of the CancelFlightInfo action.
- 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 inFlightInfo.schema
- A location where a Flight service will accept retrieval of a particular stream given a ticket.
- The information to process a long-running query.
- The request of the RenewFlightEndpoint action.
- 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.
Enums§
- The result of a cancel operation.
Functions§
- limited_
fmt πLimits the output of value to limitβ¦ - schema_
to_ πipc_ format
Type Aliases§
- Arrow
Result π