java.lang.Object
org.apache.arrow.flight.impl.FlightServiceGrpc
A flight service is an endpoint for retrieving or storing Arrow data. A flight service can expose one or more predefined endpoints that can be accessed using the Arrow Flight Protocol. Additionally, a flight service can expose a set of actions that are available.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA flight service is an endpoint for retrieving or storing Arrow data.static final classA stub to allow clients to do limited synchronous rpc calls to service FlightService.static final classA stub to allow clients to do synchronous rpc calls to service FlightService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service FlightService.static classBase class for the server implementation of the service FlightService.static final classA stub to allow clients to do asynchronous rpc calls to service FlightService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<Flight.Action,Flight.Result> static io.grpc.MethodDescriptor<Flight.FlightData,Flight.FlightData> static io.grpc.MethodDescriptor<Flight.Ticket,Flight.FlightData> static io.grpc.MethodDescriptor<Flight.FlightData,Flight.PutResult> static io.grpc.MethodDescriptor<Flight.FlightDescriptor,Flight.FlightInfo> static io.grpc.MethodDescriptor<Flight.FlightDescriptor,Flight.SchemaResult> static io.grpc.MethodDescriptor<Flight.HandshakeRequest,Flight.HandshakeResponse> static io.grpc.MethodDescriptor<Flight.Empty,Flight.ActionType> static io.grpc.MethodDescriptor<Flight.Criteria,Flight.FlightInfo> static io.grpc.MethodDescriptor<Flight.FlightDescriptor,Flight.PollInfo> static io.grpc.ServiceDescriptornewBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getHandshakeMethod
public static io.grpc.MethodDescriptor<Flight.HandshakeRequest,Flight.HandshakeResponse> getHandshakeMethod() -
getListFlightsMethod
-
getGetFlightInfoMethod
public static io.grpc.MethodDescriptor<Flight.FlightDescriptor,Flight.FlightInfo> getGetFlightInfoMethod() -
getPollFlightInfoMethod
public static io.grpc.MethodDescriptor<Flight.FlightDescriptor,Flight.PollInfo> getPollFlightInfoMethod() -
getGetSchemaMethod
public static io.grpc.MethodDescriptor<Flight.FlightDescriptor,Flight.SchemaResult> getGetSchemaMethod() -
getDoGetMethod
-
getDoPutMethod
-
getDoExchangeMethod
-
getDoActionMethod
-
getListActionsMethod
-
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static FlightServiceGrpc.FlightServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(FlightServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-