Package cz.o2.proxima.beam.util.state
Class StateValue.StateValueCoder
- java.lang.Object
-
- org.apache.beam.sdk.coders.Coder<T>
-
- org.apache.beam.sdk.coders.CustomCoder<StateValue>
-
- cz.o2.proxima.beam.util.state.StateValue.StateValueCoder
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- StateValue
public static class StateValue.StateValueCoder extends org.apache.beam.sdk.coders.CustomCoder<StateValue>
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StateValue
decode(java.io.InputStream inStream)
void
encode(StateValue value, java.io.OutputStream outStream)
-
Methods inherited from class org.apache.beam.sdk.coders.CustomCoder
getCoderArguments, verifyDeterministic
-
-
-
-
Method Detail
-
encode
public void encode(StateValue value, java.io.OutputStream outStream) throws java.io.IOException
- Specified by:
encode
in classorg.apache.beam.sdk.coders.Coder<StateValue>
- Throws:
java.io.IOException
-
decode
public StateValue decode(java.io.InputStream inStream) throws java.io.IOException
- Specified by:
decode
in classorg.apache.beam.sdk.coders.Coder<StateValue>
- Throws:
java.io.IOException
-
-