public static class Window.Triggering<T> extends Object
Window transform that has a trigger specified but has an unspecified
accumulation mode.
The currently available accumulation modes are:
discardingFiredPanes(), which causes the elements in a pane to
be discarded after the trigger fires and output is produced.
After specifying the accumulation mode the PTransform is complete and can be applied.
| Modifier and Type | Method and Description |
|---|---|
Window.Bound<T> |
accumulatingFiredPanes()
Returns a new
Window PTransform that uses the registered WindowFn and
Triggering behavior, and that accumulates elements in a pane after they are triggered. |
Window.Bound<T> |
discardingFiredPanes()
Returns a new
Window PTransform that uses the registered WindowFn and
Triggering behavior, and that discards elements in a pane after they are triggered. |
public Window.Bound<T> discardingFiredPanes()
Window PTransform that uses the registered WindowFn and
Triggering behavior, and that discards elements in a pane after they are triggered.
Does not modify this transform. The resulting PTransform is sufficiently
specified to be applied, but more properties can still be specified.
@Experimental(value=TRIGGER) public Window.Bound<T> accumulatingFiredPanes()
Window PTransform that uses the registered WindowFn and
Triggering behavior, and that accumulates elements in a pane after they are triggered.
Does not modify this transform. The resulting PTransform is sufficiently
specified to be applied, but more properties can still be specified.