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 newConnectionAwareRemoteTableParamsfrom this builder state.sessionFactory(RemoteTableSessionFactory sessionFactory) Set the function to produce aBarrageSessionfrom a hostname and port.stateWatcher(RemoteTableStateWatcher stateWatcher) Set theRemoteTableStateWatcherso theConnectionAwareRemoteTablecan monitor the state of the destination.tableDefinition(TableDefinition definition) Set the prototypeTableDefinitionfor 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 aBarrageSessionfrom a hostname and port.- Parameters:
sessionFactory- the function.- Returns:
- this
ConnectionAwareRemoteTableParams.Builder
-
stateWatcher
@NotNull ConnectionAwareRemoteTableParams.Builder stateWatcher(@NotNull RemoteTableStateWatcher stateWatcher) Set theRemoteTableStateWatcherso theConnectionAwareRemoteTablecan monitor the state of the destination.- Parameters:
stateWatcher- theRemoteTableStateWatcherfor 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 prototypeTableDefinitionfor the result table.- Parameters:
definition- theTableDefinition- Returns:
- this
ConnectionAwareRemoteTableParams.Builder
-
build
Construct a newConnectionAwareRemoteTableParamsfrom this builder state.- Returns:
- a new
ConnectionAwareRemoteTableParams.
-