Expand description
Helper trait FlightSqlService for implementing a FlightService that implements FlightSQL.
Re-exportsΒ§
use std::fmt::Display;πuse std::fmt::Formatter;πuse std::pin::Pin;πuse super::ActionBeginSavepointRequest;πuse super::ActionBeginSavepointResult;πuse super::ActionBeginTransactionRequest;πuse super::ActionBeginTransactionResult;πuse super::ActionCancelQueryRequest;πuse super::ActionCancelQueryResult;πuse super::ActionClosePreparedStatementRequest;πuse super::ActionCreatePreparedStatementRequest;πuse super::ActionCreatePreparedStatementResult;πuse super::ActionCreatePreparedSubstraitPlanRequest;πuse super::ActionEndSavepointRequest;πuse super::ActionEndTransactionRequest;πuse super::Any;πuse super::Command;πuse super::CommandGetCatalogs;πuse super::CommandGetCrossReference;πuse super::CommandGetDbSchemas;πuse super::CommandGetExportedKeys;πuse super::CommandGetImportedKeys;πuse super::CommandGetPrimaryKeys;πuse super::CommandGetSqlInfo;πuse super::CommandGetTableTypes;πuse super::CommandGetTables;πuse super::CommandGetXdbcTypeInfo;πuse super::CommandPreparedStatementQuery;πuse super::CommandPreparedStatementUpdate;πuse super::CommandStatementIngest;πuse super::CommandStatementQuery;πuse super::CommandStatementSubstraitPlan;πuse super::CommandStatementUpdate;πuse super::DoPutPreparedStatementResult;πuse super::DoPutUpdateResult;πuse super::ProstMessageExt;πuse super::SqlInfo;πuse super::TicketStatementQuery;πuse crate::Action;πuse crate::ActionType;πuse crate::Criteria;πuse crate::Empty;πuse crate::FlightData;πuse crate::FlightDescriptor;πuse crate::FlightInfo;πuse crate::HandshakeRequest;πuse crate::HandshakeResponse;πuse crate::PutResult;πuse crate::SchemaResult;πuse crate::Ticket;πuse crate::flight_service_server::FlightService;πuse crate::gen::PollInfo;πuse futures::Stream;πuse futures::StreamExt;πuse futures::stream::Peekable;πuse prost::Message;πuse tonic::Request;πuse tonic::Response;πuse tonic::Status;πuse tonic::Streaming;π
StructsΒ§
- Peekable
Flight Data Stream - A wrapper around [
Streaming<FlightData>] that allows βpeekingβ at the message at the front of the stream without consuming it.
EnumsΒ§
- DoPut
Error - Unrecoverable errors associated with
do_putrequests
StaticsΒ§
- BEGIN_
SAVEPOINT π - BEGIN_
TRANSACTION π - CANCEL_
QUERY π - CLOSE_
PREPARED_ πSTATEMENT - CREATE_
PREPARED_ πSTATEMENT - CREATE_
PREPARED_ πSUBSTRAIT_ PLAN - END_
SAVEPOINT π - END_
TRANSACTION π
TraitsΒ§
- Flight
SqlService - Implements FlightSqlService to handle the flight sql protocol
FunctionsΒ§
- arrow_
error_ πto_ status - decode_
error_ πto_ status