Package io.deephaven.client.impl
Interface BarrageSubscription
- All Known Implementing Classes:
BarrageSubscriptionImpl
public interface BarrageSubscription
A
BarrageSubscription represents a subscription over a table that may or may not be filtered to a viewport of
the remote source table.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionRequest a full subscription of the data and populate aTablewith the incrementally updating data that is received.partialTable(@Nullable Index viewport, @Nullable BitSet columns) Request a partial subscription of the data limited by viewport or column set and populate aTablewith the data that is received.partialTable(@Nullable Index viewport, @Nullable BitSet columns, boolean reverseViewport) Request a partial subscription of the data limited by viewport or column set and populate aTablewith the data that is received.Request a full snapshot of the data and populate aTablewith the incrementally updating data that is received.snapshotPartialTable(@Nullable Index viewport, @Nullable BitSet columns) Request a partial snapshot of the data limited by viewport or column set and populate aTablewith the data that is received.snapshotPartialTable(Index viewport, BitSet columns, boolean reverseViewport) Request a partial snapshot of the data limited by viewport or column set and populate aTablewith the data that is received.
-
Method Details
-
entireTable
Request a full subscription of the data and populate aTablewith the incrementally updating data that is received. The returned future will block until all rows for the subscribed table are available. -
partialTable
Request a partial subscription of the data limited by viewport or column set and populate aTablewith the data that is received. The returned future will block until the subscribed table viewport is satisfied. -
partialTable
Future<Table> partialTable(@Nullable @Nullable Index viewport, @Nullable @Nullable BitSet columns, boolean reverseViewport) Request a partial subscription of the data limited by viewport or column set and populate aTablewith the data that is received. Allows the viewport to be reversed. The returned future will block until the subscribed table viewport is satisfied.- Parameters:
viewport- the position-space viewport to use for the subscriptioncolumns- the columns to include in the subscriptionreverseViewport- Whether to treatposRowSetas offsets fromLongSizedDataStructure.size()rather than0- Returns:
- a
Futurethat will be populated with the resultTable
-
snapshotEntireTable
Request a full snapshot of the data and populate aTablewith the incrementally updating data that is received. The returned future will block until all rows for the snapshot table are available. -
snapshotPartialTable
Future<Table> snapshotPartialTable(@Nullable @Nullable Index viewport, @Nullable @Nullable BitSet columns) Request a partial snapshot of the data limited by viewport or column set and populate aTablewith the data that is received. The returned future will block until the snapshot table viewport is satisfied. -
snapshotPartialTable
Request a partial snapshot of the data limited by viewport or column set and populate aTablewith the data that is received. Allows the viewport to be reversed. The returned future will block until the snapshot table viewport is satisfied.- Parameters:
viewport- the position-space viewport to use for the subscriptioncolumns- the columns to include in the subscriptionreverseViewport- Whether to treatposRowSetas offsets fromLongSizedDataStructure.size()rather than0- Returns:
- a
Futurethat will be populated with the resultTable
-