Uses of Class
org.apache.arrow.flight.FlightServer.Builder
-
Uses of FlightServer.Builder in org.apache.arrow.flight
Modifier and TypeMethodDescriptionFlightServer.Builder.allocator
(BufferAllocator allocator) FlightServer.Builder.authHandler
(ServerAuthHandler authHandler) Set the authentication handler.FlightServer.Builder.backpressureThreshold
(int backpressureThreshold) Set the number of bytes that may be queued on a server output stream before writes are blocked.static FlightServer.Builder
FlightServer.builder()
Create a builder for a Flight server.static FlightServer.Builder
FlightServer.builder
(BufferAllocator allocator, Location location, FlightProducer producer) Create a builder for a Flight server.FlightServer.Builder.executor
(ExecutorService executor) Set the executor used by the server.FlightServer.Builder.headerAuthenticator
(CallHeaderAuthenticator headerAuthenticator) Set the header-based authentication mechanism.FlightServer.Builder.maxInboundMessageSize
(int maxMessageSize) Set the maximum size of a message.<T extends FlightServerMiddleware>
FlightServer.BuilderFlightServer.Builder.middleware
(FlightServerMiddleware.Key<T> key, FlightServerMiddleware.Factory<T> factory) Add a Flight middleware component to inspect and modify requests to this service.FlightServer.Builder.producer
(FlightProducer producer) FlightServer.Builder.transportHint
(String key, Object option) Provide a transport-specific option.FlightServer.Builder.useMTlsClientVerification
(File mTlsCACert) Enable Client Verification via mTLS on the server.FlightServer.Builder.useMTlsClientVerification
(InputStream mTlsCACert) Enable mTLS on the server.Enable TLS on the server.FlightServer.Builder.useTls
(InputStream certChain, InputStream key) Enable TLS on the server. -
Uses of FlightServer.Builder in org.apache.arrow.flight.integration.tests
Modifier and TypeMethodDescriptionvoid
FlightSqlScenario.buildServer
(FlightServer.Builder builder) void
LocationReuseConnectionScenario.buildServer
(FlightServer.Builder builder) void
OrderedScenario.buildServer
(FlightServer.Builder builder)