Package cz.o2.proxima.beam.util.state
Class StateOrInput<T>
- java.lang.Object
-
- cz.o2.proxima.beam.util.state.StateOrInput<T>
-
public class StateOrInput<T> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StateOrInput.StateOrInputCoder<T>
-
Constructor Summary
Constructors Constructor Description StateOrInput()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> StateOrInput.StateOrInputCoder<T>
coder(org.apache.beam.sdk.coders.Coder<T> inputCoder)
static <T> StateOrInput<T>
input(T input)
static <T> StateOrInput<T>
state(StateValue state)
-
-
-
Method Detail
-
coder
public static <T> StateOrInput.StateOrInputCoder<T> coder(org.apache.beam.sdk.coders.Coder<T> inputCoder)
-
state
public static <T> StateOrInput<T> state(StateValue state)
-
input
public static <T> StateOrInput<T> input(T input)
-
-