2019-06-26 14:19:36 -05:00
|
|
|
.. Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
|
.. or more contributor license agreements. See the NOTICE file
|
|
|
|
|
.. distributed with this work for additional information
|
|
|
|
|
.. regarding copyright ownership. The ASF licenses this file
|
|
|
|
|
.. to you under the Apache License, Version 2.0 (the
|
|
|
|
|
.. "License"); you may not use this file except in compliance
|
|
|
|
|
.. with the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
|
|
.. http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
|
|
.. Unless required by applicable law or agreed to in writing,
|
|
|
|
|
.. software distributed under the License is distributed on an
|
|
|
|
|
.. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
|
.. KIND, either express or implied. See the License for the
|
|
|
|
|
.. specific language governing permissions and limitations
|
|
|
|
|
.. under the License.
|
|
|
|
|
|
2019-09-25 12:23:01 +02:00
|
|
|
.. default-domain:: cpp
|
|
|
|
|
.. highlight:: cpp
|
|
|
|
|
|
2019-06-26 14:19:36 -05:00
|
|
|
================
|
|
|
|
|
Arrow Flight RPC
|
|
|
|
|
================
|
|
|
|
|
|
2019-09-24 13:44:06 -07:00
|
|
|
.. note:: Flight is currently unstable. APIs are subject to change,
|
|
|
|
|
though we don't expect drastic changes.
|
2019-06-26 14:19:36 -05:00
|
|
|
|
|
|
|
|
Common Types
|
|
|
|
|
============
|
|
|
|
|
|
|
|
|
|
.. doxygenstruct:: arrow::flight::Action
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenstruct:: arrow::flight::ActionType
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
2019-10-11 09:21:18 -05:00
|
|
|
.. doxygenclass:: arrow::flight::AddCallHeaders
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenstruct:: arrow::flight::CallInfo
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
2019-06-26 14:19:36 -05:00
|
|
|
.. doxygenstruct:: arrow::flight::Criteria
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenstruct:: arrow::flight::FlightDescriptor
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenstruct:: arrow::flight::FlightEndpoint
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenclass:: arrow::flight::FlightInfo
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenstruct:: arrow::flight::FlightPayload
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenclass:: arrow::flight::FlightListing
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
2019-10-11 09:21:18 -05:00
|
|
|
.. doxygenenum:: arrow::flight::FlightMethod
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
|
2019-06-26 14:19:36 -05:00
|
|
|
.. doxygenstruct:: arrow::flight::Location
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
2019-09-25 12:23:01 +02:00
|
|
|
.. doxygenclass:: arrow::flight::MetadataRecordBatchReader
|
2019-06-26 14:19:36 -05:00
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenstruct:: arrow::flight::Result
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenclass:: arrow::flight::ResultStream
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenstruct:: arrow::flight::Ticket
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
Clients
|
|
|
|
|
=======
|
|
|
|
|
|
|
|
|
|
.. doxygenclass:: arrow::flight::FlightClient
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
2021-03-31 13:51:03 +02:00
|
|
|
.. doxygenstruct:: arrow::flight::FlightClientOptions
|
2019-09-25 12:23:01 +02:00
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
2019-06-26 14:19:36 -05:00
|
|
|
.. doxygenclass:: arrow::flight::FlightCallOptions
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenclass:: arrow::flight::ClientAuthHandler
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
2019-10-11 09:21:18 -05:00
|
|
|
.. doxygenclass:: arrow::flight::ClientMiddleware
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenclass:: arrow::flight::ClientMiddlewareFactory
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
2019-06-26 14:19:36 -05:00
|
|
|
.. doxygentypedef:: arrow::flight::TimeoutDuration
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
|
2019-09-25 12:23:01 +02:00
|
|
|
.. doxygenclass:: arrow::flight::FlightStreamReader
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenclass:: arrow::flight::FlightStreamWriter
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
2019-06-26 14:19:36 -05:00
|
|
|
Servers
|
|
|
|
|
=======
|
|
|
|
|
|
|
|
|
|
.. doxygenclass:: arrow::flight::FlightServerBase
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
2019-09-25 12:23:01 +02:00
|
|
|
.. doxygenclass:: arrow::flight::FlightServerOptions
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenstruct:: arrow::flight::CertKeyPair
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
2019-06-26 14:19:36 -05:00
|
|
|
.. doxygenclass:: arrow::flight::FlightDataStream
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenclass:: arrow::flight::FlightMessageReader
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
2019-09-25 12:23:01 +02:00
|
|
|
.. doxygenclass:: arrow::flight::FlightMetadataWriter
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
2019-06-26 14:19:36 -05:00
|
|
|
.. doxygenclass:: arrow::flight::RecordBatchStream
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenclass:: arrow::flight::ServerAuthHandler
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenclass:: arrow::flight::ServerCallContext
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
2019-09-25 12:23:01 +02:00
|
|
|
|
2019-10-11 09:21:18 -05:00
|
|
|
.. doxygenclass:: arrow::flight::ServerMiddleware
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenclass:: arrow::flight::ServerMiddlewareFactory
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
2019-09-25 12:23:01 +02:00
|
|
|
.. doxygenclass:: arrow::flight::SimpleFlightListing
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenclass:: arrow::flight::SimpleResultStream
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
Error Handling
|
|
|
|
|
==============
|
|
|
|
|
|
|
|
|
|
Error handling uses the normal :class:`arrow::Status` class, combined
|
|
|
|
|
with a custom :class:`arrow::StatusDetail` object for Flight-specific
|
|
|
|
|
error codes.
|
|
|
|
|
|
|
|
|
|
.. doxygenenum:: arrow::flight::FlightStatusCode
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
|
|
|
|
|
.. doxygenclass:: arrow::flight::FlightStatusDetail
|
|
|
|
|
:project: arrow_cpp
|
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
.. doxygenfunction:: arrow::flight::MakeFlightError
|
|
|
|
|
:project: arrow_cpp
|
2022-03-11 02:54:10 +00:00
|
|
|
|
|
|
|
|
Implementing Custom Transports
|
|
|
|
|
==============================
|
|
|
|
|
|
2022-07-07 09:16:29 -04:00
|
|
|
.. doxygenfile:: arrow/flight/transport.h
|
2022-03-11 02:54:10 +00:00
|
|
|
:sections: briefdescription detaileddescription
|