StreamBase Documentation
Tuple-Based Dimension Options
In the Aggregate operator Dimensions tab you can open the Edit Dimension dialog to
add, edit, or remove dimensions from the Aggregate operator. With a tuple-based dimension, a new window will be
established and evaluated based on the number of arriving tuples. For example, a tuple containing the aggregate results
may be emitted and the window closed when it contains a certain number of tuples
The following table describes the options available in the Edit Dimension dialog for tuple-based dimensions.
| TYPE = TUPLE | |
|---|---|
| Category | Options and Meaning |
| Opening policy: | Select one of these options:
Note: the Offset option is disabled for tuple-based Aggregates, because each window is simply populated by a given number of tuples, rather than sets of tuples based on a field's value or arrival time. |
| Window size: | Select one of these options:
|
| Emission policy: | Select one of these options:
|
| Optional windows: | For tuple-based aggregates, the only option is whether to enable "Create partial windows".
When set, this option creates "partial" windows which encompass the values that would have occurred before the arrival of the first tuple. For example, where Advance is less than Size, additional windows would be opened to include the first tuple; these windows would start before the "Time" in the first tuple. |
