| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../api/../generated/pyarrow.flight.FlightClient.html | [Back] [Original] |
Bases: _Weakrefable
A client to a Flight service.
Connect to a Flight service on the given host and port.
str, tuple or LocationLocation to connect to. Either a gRPC URI like grpc://localhost:port, a tuple of (host, port) pair, or a Location instance.
bytes or NonePEM-encoded
Client certificate if using mutual TLS
Client private key for cert_chain is using mutual TLS
str or NoneOverride the hostname checked by TLS. Insecure, use with caution.
list optional, default NoneA list of ClientMiddlewareFactory instances.
int optional, default NoneA soft limit on the size of a data payload sent to the server. Enabled if positive. If enabled, writing a record batch that (when serialized) exceeds this limit will raise an exception; the client can retry the write with a smaller batch.
FalseA flag that indicates that, if the client is connecting with TLS, that it skips server verification. If this is enabled, all other TLS settings are overridden.
list optional, default NoneA list of generic (string, int or string) option tuples passed to the underlying transport. Effect is implementation dependent.
Methods
|
|
|
|
|
Authenticate to the server. |
|
Authenticate to the server with HTTP basic authentication. |
|
Close the client and disconnect. |
|
Connect to a Flight server. |
|
Execute an action on a service. |
|
Start a bidirectional data exchange with a server. |
|
Request the data for a flight. |
|
Upload data to a flight. |
|
Request information about an available flight. |
|
Request schema for an available flight. |
|
List the actions available on a service. |
|
List the flights available on a service. |
|
Block until the server can be contacted. |
Attributes
Authenticate to the server.
ClientAuthHandlerThe authentication mechanism to use.
FlightCallOptionsOptions for this call.
Authenticate to the server with HTTP basic authentication.
strUsername to authenticate with
strPassword to authenticate with
FlightCallOptionsOptions for this call
Close the client and disconnect.
Connect to a Flight server.
Deprecated since version 0.15.0: Use the FlightClient constructor or pyarrow.flight.connect function instead.
Execute an action on a service.
str, tuple, or ActionCan be action type name (no body), type and body, or any Action object
FlightCallOptionsRPC options
Result valuesStart a bidirectional data exchange with a server.
FlightDescriptorA descriptor for the flight.
FlightCallOptionsRPC options.
FlightStreamWriterFlightStreamReaderRequest the data for a flight.
FlightStreamReaderUpload data to a flight.
FlightStreamWriterFlightMetadataReaderRequest information about an available flight.
Request schema for an available flight.
List the actions available on a service.
List the flights available on a service.
| Web Proxy Viewer | New URL | Original Page |