Package org.apache.arrow.flight.grpc
Class ClientInterceptorAdapter
java.lang.Object
org.apache.arrow.flight.grpc.ClientInterceptorAdapter
- All Implemented Interfaces:
io.grpc.ClientInterceptor
An adapter between Flight client middleware and gRPC interceptors.
This is implemented as a single gRPC interceptor that runs all Flight client middleware sequentially.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<ReqT,
RespT>
io.grpc.ClientCall<ReqT,RespT> interceptCall
(io.grpc.MethodDescriptor<ReqT, RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)
-
Constructor Details
-
ClientInterceptorAdapter
-
-
Method Details
-
interceptCall
public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next) - Specified by:
interceptCall
in interfaceio.grpc.ClientInterceptor
-