@Internal public interface StateContext<W extends BoundedWindow>
| Modifier and Type | Method and Description |
|---|---|
PipelineOptions |
getPipelineOptions()
Returns the
PipelineOptions specified with the PipelineRunner. |
<T> T |
sideInput(PCollectionView<T> view)
Returns the value of the side input for the corresponding state window.
|
W |
window()
Returns the window corresponding to the state.
|
PipelineOptions getPipelineOptions()
PipelineOptions specified with the PipelineRunner.<T> T sideInput(PCollectionView<T> view)
W window()