Package io.deephaven.flightjs.protocol
Class BrowserFlightServiceGrpc.BrowserFlightServiceImplBase
java.lang.Object
io.deephaven.flightjs.protocol.BrowserFlightServiceGrpc.BrowserFlightServiceImplBase
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
- BrowserFlightServiceGrpc
public abstract static class BrowserFlightServiceGrpc.BrowserFlightServiceImplBase
extends Object
implements io.grpc.BindableService
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal io.grpc.ServerServiceDefinitionvoidnextDoExchange(org.apache.arrow.flight.impl.Flight.FlightData request, io.grpc.stub.StreamObserver<BrowserFlight.BrowserNextResponse> responseObserver) voidnextDoPut(org.apache.arrow.flight.impl.Flight.FlightData request, io.grpc.stub.StreamObserver<BrowserFlight.BrowserNextResponse> responseObserver) voidnextHandshake(org.apache.arrow.flight.impl.Flight.HandshakeRequest request, io.grpc.stub.StreamObserver<BrowserFlight.BrowserNextResponse> responseObserver) voidopenDoExchange(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.voidopenDoPut(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.voidopenHandshake(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.
-
Constructor Details
-
BrowserFlightServiceImplBase
public BrowserFlightServiceImplBase()
-
-
Method Details
-
openHandshake
public 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
public void nextHandshake(org.apache.arrow.flight.impl.Flight.HandshakeRequest request, io.grpc.stub.StreamObserver<BrowserFlight.BrowserNextResponse> responseObserver) -
openDoPut
public 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
public void nextDoPut(org.apache.arrow.flight.impl.Flight.FlightData request, io.grpc.stub.StreamObserver<BrowserFlight.BrowserNextResponse> responseObserver) -
openDoExchange
public 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
public void nextDoExchange(org.apache.arrow.flight.impl.Flight.FlightData request, io.grpc.stub.StreamObserver<BrowserFlight.BrowserNextResponse> responseObserver) -
bindService
public final io.grpc.ServerServiceDefinition bindService()- Specified by:
bindServicein interfaceio.grpc.BindableService
-