Package io.deephaven.flightjs.protocol
Class BrowserFlightServiceGrpc.BrowserFlightServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<BrowserFlightServiceGrpc.BrowserFlightServiceStub>
io.deephaven.flightjs.protocol.BrowserFlightServiceGrpc.BrowserFlightServiceStub
- Enclosing class:
- BrowserFlightServiceGrpc
public static final class BrowserFlightServiceGrpc.BrowserFlightServiceStub
extends io.grpc.stub.AbstractAsyncStub<BrowserFlightServiceGrpc.BrowserFlightServiceStub>
A stub to allow clients to do asynchronous rpc calls to service BrowserFlightService.
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
nextDoExchange
(org.apache.arrow.flight.impl.Flight.FlightData request, io.grpc.stub.StreamObserver<BrowserFlight.BrowserNextResponse> responseObserver) void
nextDoPut
(org.apache.arrow.flight.impl.Flight.FlightData request, io.grpc.stub.StreamObserver<BrowserFlight.BrowserNextResponse> responseObserver) void
nextHandshake
(org.apache.arrow.flight.impl.Flight.HandshakeRequest request, io.grpc.stub.StreamObserver<BrowserFlight.BrowserNextResponse> responseObserver) 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.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.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.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected BrowserFlightServiceGrpc.BrowserFlightServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<BrowserFlightServiceGrpc.BrowserFlightServiceStub>
-
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)
-