pub struct FlightSqlServiceClient { /* private fields */ }
Expand description

A FlightSQLServiceClient is an endpoint for retrieving or storing Arrow data by FlightSQL protocol.

Implementations§

A FlightSql protocol client that can run queries against FlightSql servers This client is in the “experimental” stage. It is not guaranteed to follow the spec in all instances. Github issues are welcomed.

Creates a new HTTPs FlightSql Client that connects via TCP to a server

Creates a new FlightSql client that connects to a server over an arbitrary tonic Channel

Execute a query on the server.

Perform a handshake with the server, passing credentials and establishing a session Returns arbitrary auth/handshake info binary blob

Execute a update query on the server, and return the number of records affected

Request a list of catalogs as tabular FlightInfo results

Request a list of database schemas as tabular FlightInfo results

Given a flight ticket, request to be sent the stream. Returns record batch stream reader

Request a list of tables.

Request the primary keys for a table.

Retrieves a description about the foreign key columns that reference the primary key columns of the given table.

Retrieves the foreign key columns for the given table.

Retrieves a description of the foreign key columns in the given foreign key table that reference the primary key or the columns representing a unique constraint of the parent table (could be the same or a different table).

Request a list of table types.

Request a list of SQL information.

Create a prepared statement object.

Explicitly shut down and clean up the client.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Converts to this type from a reference to the input type.
Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Wrap the input message T in a tonic::Request
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more