Package io.deephaven.enterprise.remote
Interface ConnectionAwareRemoteTableParams.Builder
- Enclosing interface:
- ConnectionAwareRemoteTableParams
public static interface ConnectionAwareRemoteTableParams.Builder
Implementations of this interface can be used to construct a new
ConnectionAwareRemoteTableParams
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Construct a newConnectionAwareRemoteTableParams
from this builder state.sessionFactory
(RemoteTableSessionFactory sessionFactory) Set the function to produce aBarrageSession
from a hostname and port.stateWatcher
(RemoteTableStateWatcher stateWatcher) Set theRemoteTableStateWatcher
so theConnectionAwareRemoteTable
can monitor the state of the destination.tableDefinition
(TableDefinition definition) Set the prototypeTableDefinition
for the result table.Set the name of the table to fetch from the query scope.
-
Method Details
-
sessionFactory
@NotNull ConnectionAwareRemoteTableParams.Builder sessionFactory(@NotNull RemoteTableSessionFactory sessionFactory) Set the function to produce aBarrageSession
from a hostname and port.- Parameters:
sessionFactory
- the function.- Returns:
- this
ConnectionAwareRemoteTableParams.Builder
-
stateWatcher
@NotNull ConnectionAwareRemoteTableParams.Builder stateWatcher(@NotNull RemoteTableStateWatcher stateWatcher) Set theRemoteTableStateWatcher
so theConnectionAwareRemoteTable
can monitor the state of the destination.- Parameters:
stateWatcher
- theRemoteTableStateWatcher
for monitoring state.- Returns:
- this
ConnectionAwareRemoteTableParams.Builder
-
tableName
Set the name of the table to fetch from the query scope.- Parameters:
tableName
- the table name.- Returns:
- this
ConnectionAwareRemoteTableParams.Builder
-
tableDefinition
@NotNull ConnectionAwareRemoteTableParams.Builder tableDefinition(@NotNull TableDefinition definition) Set the prototypeTableDefinition
for the result table.- Parameters:
definition
- theTableDefinition
- Returns:
- this
ConnectionAwareRemoteTableParams.Builder
-
build
Construct a newConnectionAwareRemoteTableParams
from this builder state.- Returns:
- a new
ConnectionAwareRemoteTableParams
.
-