Package io.deephaven.enterprise.remote
Interface SubscriptionOptions.Builder
- Enclosing interface:
- SubscriptionOptions
public static interface SubscriptionOptions.Builder
Implementations of this interface can be used to construct a new 
SubscriptionOptions.- 
Method SummaryModifier and TypeMethodDescriptionaddAllFilters(Iterable<String> filters) Set the filters to apply in conjunction withSubscriptionOptions.filter()before subscribing.addAllIncludedColumns(Iterable<String> columns) Set the columns to subscribe to from the upstream.addFilters(String... filters) Set the filters to apply before subscribing.addIncludedColumns(String... columns) Set the columns to subscribe to from the upstream.build()Construct a newSubscriptionOptionsfrom this builder state.clearOnDisconnect(boolean clearOnDisconnect) Set if the result table should clear its rows when a disconnect occurs.Set theFilterto apply in conjunction withSubscriptionOptions.filters()before subscribing.maxRetriesWithinWindow(long maxRetriesInWindow) Set the maximum number of retries to attempt within thewindow.retryWindowMillis(long retryWindowMillis) Set the width of the window in milliseconds in which to attempt to reconnect.
- 
Method Details- 
clearOnDisconnectSet if the result table should clear its rows when a disconnect occurs. Defaults totrue.- Parameters:
- clearOnDisconnect- if the result table should clear rows on disconnection
- Returns:
- this SubscriptionOptions.Builder
 
- 
retryWindowMillisSet the width of the window in milliseconds in which to attempt to reconnect. Defaults to 60 seconds, unless changed via theConnectionAwareRemoteTableParams.retryWindowMillisproperty.- Parameters:
- retryWindowMillis- the reconnection window in milliseconds
- Returns:
- this SubscriptionOptions.Builder
 
- 
maxRetriesWithinWindowSet the maximum number of retries to attempt within thewindow. Defaults to 5, unless changed via thaConnectionAwareRemoteTableParams.maxRetriesproperty.- Parameters:
- maxRetriesInWindow- the maximum allowed retries in the- window
- Returns:
- this SubscriptionOptions.Builder
 
- 
addIncludedColumnsSet the columns to subscribe to from the upstream. Defaults to all columns.- Parameters:
- columns- the columns to include.
- Returns:
- this SubscriptionOptions.Builder
 
- 
addAllIncludedColumnsSet the columns to subscribe to from the upstream. Defaults to all columns.- Parameters:
- columns- the columns to subscribe
- Returns:
- this SubscriptionOptions.Builder
 
- 
addFiltersSet the filters to apply before subscribing.- Parameters:
- filters- the filters to apply
- Returns:
- this SubscriptionOptions.Builder
 
- 
addAllFiltersSet the filters to apply in conjunction withSubscriptionOptions.filter()before subscribing.- Parameters:
- filters- the filters to apply
- Returns:
- this SubscriptionOptions.Builder
 
- 
filterSet theFilterto apply in conjunction withSubscriptionOptions.filters()before subscribing.- Parameters:
- filter- the filter to apply
- Returns:
- this SubscriptionOptions.Builder
 
- 
buildConstruct a newSubscriptionOptionsfrom this builder state.- Returns:
- a new SubscriptionOptions.
 
 
-