Package io.deephaven.server.arrow
Class FlightServiceGrpcImpl
java.lang.Object
org.apache.arrow.flight.impl.FlightServiceGrpc.FlightServiceImplBase
io.deephaven.server.arrow.FlightServiceGrpcImpl
- All Implemented Interfaces:
io.grpc.BindableService,org.apache.arrow.flight.impl.FlightServiceGrpc.AsyncService
@Singleton
public class FlightServiceGrpcImpl
extends org.apache.arrow.flight.impl.FlightServiceGrpc.FlightServiceImplBase
-
Constructor Summary
ConstructorsConstructorDescriptionFlightServiceGrpcImpl(@Nullable ScheduledExecutorService executorService, BarrageMessageWriter.Factory streamGeneratorFactory, SessionService sessionService, SessionService.ErrorTransformer errorTransformer, TicketRouter ticketRouter, ActionRouter actionRouter, ArrowFlightUtil.DoExchangeMarshaller.Factory doExchangeFactory, Map<String, AuthenticationRequestHandler> authRequestHandlers) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoAction(org.apache.arrow.flight.impl.Flight.Action request, io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.Result> responseObserver) io.grpc.stub.StreamObserver<InputStream>doExchangeCustom(io.grpc.stub.StreamObserver<InputStream> responseObserver) Establish a new DoExchange bi-directional stream.voiddoGetCustom(org.apache.arrow.flight.impl.Flight.Ticket request, io.grpc.stub.StreamObserver<InputStream> responseObserver) io.grpc.stub.StreamObserver<InputStream>doPutCustom(io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.PutResult> responseObserver) Establish a new DoPut bi-directional stream.voidgetFlightInfo(org.apache.arrow.flight.impl.Flight.FlightDescriptor request, @NotNull io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.FlightInfo> responseObserver) voidgetSchema(org.apache.arrow.flight.impl.Flight.FlightDescriptor request, @NotNull io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.SchemaResult> responseObserver) io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.HandshakeRequest>handshake(@NotNull io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.HandshakeResponse> responseObserver) voidlistActions(org.apache.arrow.flight.impl.Flight.Empty request, io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.ActionType> responseObserver) voidlistFlights(org.apache.arrow.flight.impl.Flight.Criteria request, @NotNull io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.FlightInfo> responseObserver) Methods inherited from class org.apache.arrow.flight.impl.FlightServiceGrpc.FlightServiceImplBase
bindServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.arrow.flight.impl.FlightServiceGrpc.AsyncService
doExchange, doGet, doPut, pollFlightInfo
-
Constructor Details
-
FlightServiceGrpcImpl
@Inject public FlightServiceGrpcImpl(@Nullable @Nullable ScheduledExecutorService executorService, BarrageMessageWriter.Factory streamGeneratorFactory, SessionService sessionService, SessionService.ErrorTransformer errorTransformer, TicketRouter ticketRouter, ActionRouter actionRouter, ArrowFlightUtil.DoExchangeMarshaller.Factory doExchangeFactory, Map<String, AuthenticationRequestHandler> authRequestHandlers)
-
-
Method Details
-
handshake
public io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.HandshakeRequest> handshake(@NotNull @NotNull io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.HandshakeResponse> responseObserver) -
doAction
public void doAction(org.apache.arrow.flight.impl.Flight.Action request, io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.Result> responseObserver) -
listFlights
public void listFlights(@NotNull org.apache.arrow.flight.impl.Flight.Criteria request, @NotNull @NotNull io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.FlightInfo> responseObserver) -
listActions
public void listActions(org.apache.arrow.flight.impl.Flight.Empty request, io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.ActionType> responseObserver) -
getFlightInfo
public void getFlightInfo(@NotNull org.apache.arrow.flight.impl.Flight.FlightDescriptor request, @NotNull @NotNull io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.FlightInfo> responseObserver) -
getSchema
public void getSchema(@NotNull org.apache.arrow.flight.impl.Flight.FlightDescriptor request, @NotNull @NotNull io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.SchemaResult> responseObserver) -
doGetCustom
public void doGetCustom(org.apache.arrow.flight.impl.Flight.Ticket request, io.grpc.stub.StreamObserver<InputStream> responseObserver) -
doPutCustom
public io.grpc.stub.StreamObserver<InputStream> doPutCustom(io.grpc.stub.StreamObserver<org.apache.arrow.flight.impl.Flight.PutResult> responseObserver) Establish a new DoPut bi-directional stream.- Parameters:
responseObserver- the observer to reply to- Returns:
- the observer that grpc can delegate received messages to
-
doExchangeCustom
public io.grpc.stub.StreamObserver<InputStream> doExchangeCustom(io.grpc.stub.StreamObserver<InputStream> responseObserver) Establish a new DoExchange bi-directional stream.- Parameters:
responseObserver- the observer to reply to- Returns:
- the observer that grpc can delegate received messages to
-