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