Package io.deephaven.client.impl
Class FlightSessionFactoryConfig
java.lang.Object
io.deephaven.client.impl.FlightSessionFactoryConfig
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
final class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.arrow.memory.BufferAllocator
The allocator.builder()
The client channel factory.abstract ClientConfig
The client configuration.factory()
Creates a new factory with a newManagedChannel
.abstract ScheduledExecutorService
The default scheduler, used by the factory whenSessionConfig.scheduler()
is not set.The default session config, used by the factory whenSessionConfig
is not provided.static String
Constructs a grpc user-agent withgrpc-java
,deephaven
, andflight
versions, with the addition ofextraProperties
.
-
Constructor Details
-
FlightSessionFactoryConfig
public FlightSessionFactoryConfig()
-
-
Method Details
-
builder
-
userAgent
Constructs a grpc user-agent withgrpc-java
,deephaven
, andflight
versions, with the addition ofextraProperties
.- Parameters:
extraProperties
- the extra properties- Returns:
- the user-agent
- See Also:
-
clientConfig
The client configuration. -
clientChannelFactory
The client channel factory. By default, is a factory that sets a user-agent which includes relevant versions (seeuserAgent(List)
) and the property "deephaven-java-client-flight". -
sessionConfig
The default session config, used by the factory whenSessionConfig
is not provided. By default isSessionConfig.builder().build()
. -
scheduler
The default scheduler, used by the factory whenSessionConfig.scheduler()
is not set. -
allocator
public abstract org.apache.arrow.memory.BufferAllocator allocator()The allocator. -
factory
Creates a new factory with a newManagedChannel
.- Returns:
- the factory
-