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,LocationandTicket.
- 
Low level [tonic] generated flight_service_clientandflight_service_server.
- 
Support for Flight SQL in sql. Requires theflight-sqlfeature of this crate to be activated.
Re-exportsΒ§
- pub use client::FlightClient;
ModulesΒ§
- client
- Mid Level FlightClient
- decode
- Decoder to create RecordBatchstreams fromFlightDatastreams. SeeFlightRecordBatchStream.
- encode
- Encoder to create FlightDatastreams fromRecordBatchstreams. SeeFlightDataEncoderBuilder.
- error
- Common error types
- flight_descriptor 
- Defines a Flightfor generation or retrieval.
- flight_service_ client 
- Low Level [tonic] FlightServiceClient.
- flight_service_ server 
- Low Level [tonic] FlightServiceServerandFlightService.
- gen π
- sql
- Support for execute SQL queries using Apache Arrow Flight SQL.
- streams π
- FallibleRequestStreamand- FallibleTonicResponseStreamadapters
- trailers π
- Helper to extract HTTP/gRPC trailers from a tonic stream.
- utils
- Utilities to assist with reading and writing Arrow data as Flight messages
StructsΒ§
- Action
- An opaque action specific for the service.
- ActionType 
- Describes an available action, including both the name used for execution along with a short description of the purpose of the action.
- BasicAuth 
- A message for doing simple auth.
- CancelFlight Info Request 
- The request of the CancelFlightInfo action.
- CancelFlight Info Result 
- The result of the CancelFlightInfo action.
- Criteria
- A service specific expression that can be used to return a limited set of available Arrow Flight streams.
- Empty
- FlightData 
- A batch of Arrow data as part of a stream of batches.
- FlightDescriptor 
- 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.
- FlightEndpoint 
- A particular stream or split associated with a flight.
- FlightInfo 
- The access coordinates for retrieval of a dataset. With a FlightInfo, a consumer is able to determine how to retrieve a dataset.
- HandshakeRequest 
- The request that a client provides to a server on handshake.
- HandshakeResponse 
- IpcMessage
- IpcMessage represents a Schemain the format expected inFlightInfo.schema
- Location
- A location where a Flight service will accept retrieval of a particular stream given a ticket.
- PollInfo 
- The information to process a long-running query.
- PutResult
- RenewFlight Endpoint Request 
- The request of the RenewFlightEndpoint action.
- Result
- An opaque result returned after executing an action.
- SchemaAsIpc 
- SchemaAsIpc represents a pairing of a Schemawith IpcWriteOptions
- SchemaResult 
- Wrap the result of a getSchema call
- Ticket
- An opaque identifier that the service can use to retrieve a particular portion of a stream.
EnumsΒ§
- CancelStatus 
- The result of a cancel operation.
FunctionsΒ§
- flight_schema_ πas_ encoded_ data 
- flight_schema_ πas_ flatbuffer 
- limited_fmt π
- Limits the output of value to limitβ¦
- schema_to_ πipc_ format 
Type AliasesΒ§
- ArrowResult π