Interface BrowserFlightServiceGrpc.AsyncService

All Known Implementing Classes:
BrowserFlightServiceGrpc.BrowserFlightServiceImplBase
Enclosing class:
BrowserFlightServiceGrpc

public static interface BrowserFlightServiceGrpc.AsyncService
 A flight js service is a (non-proper) extension of arrow flight service
 that augments existing client-streaming (or bidirectional streaming) methods
 with a pair that can be used to simulate a client stream over unary requests.
 
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    nextDoExchange(org.apache.arrow.flight.impl.Flight.FlightData request, io.grpc.stub.StreamObserver<BrowserFlight.BrowserNextResponse> responseObserver)
     
    default void
    nextDoPut(org.apache.arrow.flight.impl.Flight.FlightData request, io.grpc.stub.StreamObserver<BrowserFlight.BrowserNextResponse> responseObserver)
     
    default void
    nextHandshake(org.apache.arrow.flight.impl.Flight.HandshakeRequest request, io.grpc.stub.StreamObserver<BrowserFlight.BrowserNextResponse> responseObserver)
     
    default void
    openDoExchange(org.apache.arrow.flight.impl.Flight.FlightData request, io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.FlightData> responseObserver)
    Open a bidirectional data channel for a given descriptor.
    default void
    openDoPut(org.apache.arrow.flight.impl.Flight.FlightData request, io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.PutResult> responseObserver)
    Push a stream to the flight service associated with a particular flight stream.
    default void
    openHandshake(org.apache.arrow.flight.impl.Flight.HandshakeRequest request, io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.HandshakeResponse> responseObserver)
    Handshake between client and server.
  • Method Details

    • openHandshake

      default void openHandshake(org.apache.arrow.flight.impl.Flight.HandshakeRequest request, io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.HandshakeResponse> responseObserver)
       Handshake between client and server. Depending on the server, the
       handshake may be required to determine the token that should be used for
       future operations. Both request and response are streams to allow multiple
       round-trips depending on auth mechanism.
       
    • nextHandshake

      default void nextHandshake(org.apache.arrow.flight.impl.Flight.HandshakeRequest request, io.grpc.stub.StreamObserver<BrowserFlight.BrowserNextResponse> responseObserver)
    • openDoPut

      default void openDoPut(org.apache.arrow.flight.impl.Flight.FlightData request, io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.PutResult> responseObserver)
       Push a stream to the flight service associated with a particular
       flight stream. This allows a client of a flight service to upload a stream
       of data. Depending on the particular flight service, a client consumer
       could be allowed to upload a single stream per descriptor or an unlimited
       number. In the latter, the service might implement a 'seal' action that
       can be applied to a descriptor once all streams are uploaded.
       
    • nextDoPut

      default void nextDoPut(org.apache.arrow.flight.impl.Flight.FlightData request, io.grpc.stub.StreamObserver<BrowserFlight.BrowserNextResponse> responseObserver)
    • openDoExchange

      default void openDoExchange(org.apache.arrow.flight.impl.Flight.FlightData request, io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.FlightData> responseObserver)
       Open a bidirectional data channel for a given descriptor. This
       allows clients to send and receive arbitrary Arrow data and
       application-specific metadata in a single logical stream. In
       contrast to DoGet/DoPut, this is more suited for clients
       offloading computation (rather than storage) to a Flight service.
       
    • nextDoExchange

      default void nextDoExchange(org.apache.arrow.flight.impl.Flight.FlightData request, io.grpc.stub.StreamObserver<BrowserFlight.BrowserNextResponse> responseObserver)