Package org.apache.beam.sdk.state
Class StateContexts
- java.lang.Object
-
- org.apache.beam.sdk.state.StateContexts
-
@Internal public class StateContexts extends java.lang.Object
For internal use only; no backwards-compatibility guarantees.
-
-
Constructor Summary
Constructors Constructor Description StateContexts()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <W extends BoundedWindow>
StateContext<W>nullContext()
Returns a fakeStateContext
.static <W extends BoundedWindow>
StateContext<W>windowOnlyContext(W window)
-
-
-
Method Detail
-
nullContext
public static <W extends BoundedWindow> StateContext<W> nullContext()
Returns a fakeStateContext
.
-
windowOnlyContext
public static <W extends BoundedWindow> StateContext<W> windowOnlyContext(W window)
-
-