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 TypeMethodDescription@NotNull ConnectionAwareRemoteTableParamsbuild()Construct a newConnectionAwareRemoteTableParamsfrom this builder state.isBlink(boolean isBlink) Set if the table is a blink table.sessionFactory(@NotNull RemoteTableSessionFactory sessionFactory) Set the function to produce aBarrageSessionfrom a hostname and port.stateWatcher(@NotNull RemoteTableStateWatcher stateWatcher) Set theRemoteTableStateWatcherso theConnectionAwareRemoteTablecan monitor the state of the destination.tableDefinition(@NotNull TableDefinition definition) Set the prototypeTableDefinitionfor the result table.Set the name of the table to fetch from the query scope.
-
Method Details
-
sessionFactory
@NotNull @NotNull ConnectionAwareRemoteTableParams.Builder sessionFactory(@NotNull @NotNull RemoteTableSessionFactory sessionFactory) Set the function to produce aBarrageSessionfrom a hostname and port.- Parameters:
sessionFactory- the function.- Returns:
- this
ConnectionAwareRemoteTableParams.Builder
-
stateWatcher
@NotNull @NotNull ConnectionAwareRemoteTableParams.Builder stateWatcher(@NotNull @NotNull RemoteTableStateWatcher stateWatcher) Set theRemoteTableStateWatcherso theConnectionAwareRemoteTablecan monitor the state of the destination.- Parameters:
stateWatcher- theRemoteTableStateWatcherfor monitoring state.- Returns:
- this
ConnectionAwareRemoteTableParams.Builder
-
tableName
@NotNull @NotNull ConnectionAwareRemoteTableParams.Builder tableName(@NotNull @NotNull String tableName) Set the name of the table to fetch from the query scope.- Parameters:
tableName- the table name.- Returns:
- this
ConnectionAwareRemoteTableParams.Builder
-
tableDefinition
@NotNull @NotNull ConnectionAwareRemoteTableParams.Builder tableDefinition(@NotNull @NotNull TableDefinition definition) Set the prototypeTableDefinitionfor the result table.- Parameters:
definition- theTableDefinition- Returns:
- this
ConnectionAwareRemoteTableParams.Builder
-
isBlink
Set if the table is a blink table.- Parameters:
isBlink- if the table is append only.- Returns:
- this
ConnectionAwareRemoteTableParams.Builder
-
build
Construct a newConnectionAwareRemoteTableParamsfrom this builder state.- Returns:
- a new
ConnectionAwareRemoteTableParams.
-