Package org.apache.beam.sdk.state
Interface StateContext<W extends BoundedWindow>
For internal use only; no backwards-compatibility guarantees.
-
Method Summary
Modifier and TypeMethodDescriptionReturns thePipelineOptions
specified with thePipelineRunner
.<T> T
sideInput
(PCollectionView<T> view) Returns the value of the side input for the corresponding state window.window()
Returns the window corresponding to the state.
-
Method Details
-
getPipelineOptions
PipelineOptions getPipelineOptions()Returns thePipelineOptions
specified with thePipelineRunner
. -
sideInput
Returns the value of the side input for the corresponding state window. -
window
W window()Returns the window corresponding to the state.
-