Package io.deephaven.client.impl
Class FlightSessionFactoryConfig
java.lang.Object
io.deephaven.client.impl.FlightSessionFactoryConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacefinal class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.arrow.memory.BufferAllocatorThe allocator.builder()The client channel factory.abstract ClientConfigThe client configuration.factory()Creates a new factory with a newManagedChannel.abstract ScheduledExecutorServiceThe default scheduler, used by the factory whenSessionConfig.scheduler()is not set.The default session config, used by the factory whenSessionConfigis not provided.static StringConstructs a grpc user-agent withgrpc-java,deephaven, andflightversions, with the addition ofextraProperties.
-
Constructor Details
-
FlightSessionFactoryConfig
public FlightSessionFactoryConfig()
-
-
Method Details
-
builder
-
userAgent
Constructs a grpc user-agent withgrpc-java,deephaven, andflightversions, 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 whenSessionConfigis 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
-