Package cz.o2.proxima.beam.tools.groovy
Class TupleCoder
- java.lang.Object
-
- org.apache.beam.sdk.coders.Coder<groovy.lang.Tuple<java.lang.Object>>
-
- cz.o2.proxima.beam.tools.groovy.TupleCoder
-
- All Implemented Interfaces:
java.io.Serializable
public class TupleCoder extends org.apache.beam.sdk.coders.Coder<groovy.lang.Tuple<java.lang.Object>>
Coder forTuple
s.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description groovy.lang.Tuple<java.lang.Object>
decode(java.io.InputStream inStream)
void
encode(groovy.lang.Tuple<java.lang.Object> value, java.io.OutputStream outStream)
boolean
equals(java.lang.Object obj)
java.util.List<? extends org.apache.beam.sdk.coders.Coder<?>>
getCoderArguments()
int
hashCode()
static TupleCoder
of()
static TupleCoder
of(org.apache.beam.sdk.extensions.kryo.KryoCoder<java.lang.Object> coder)
void
verifyDeterministic()
-
-
-
Method Detail
-
of
public static TupleCoder of()
-
of
public static TupleCoder of(org.apache.beam.sdk.extensions.kryo.KryoCoder<java.lang.Object> coder)
-
encode
public void encode(groovy.lang.Tuple<java.lang.Object> value, java.io.OutputStream outStream) throws org.apache.beam.sdk.coders.CoderException, java.io.IOException
- Specified by:
encode
in classorg.apache.beam.sdk.coders.Coder<groovy.lang.Tuple<java.lang.Object>>
- Throws:
org.apache.beam.sdk.coders.CoderException
java.io.IOException
-
decode
public groovy.lang.Tuple<java.lang.Object> decode(java.io.InputStream inStream) throws org.apache.beam.sdk.coders.CoderException, java.io.IOException
- Specified by:
decode
in classorg.apache.beam.sdk.coders.Coder<groovy.lang.Tuple<java.lang.Object>>
- Throws:
org.apache.beam.sdk.coders.CoderException
java.io.IOException
-
verifyDeterministic
public void verifyDeterministic()
- Specified by:
verifyDeterministic
in classorg.apache.beam.sdk.coders.Coder<groovy.lang.Tuple<java.lang.Object>>
-
getCoderArguments
public java.util.List<? extends org.apache.beam.sdk.coders.Coder<?>> getCoderArguments()
- Specified by:
getCoderArguments
in classorg.apache.beam.sdk.coders.Coder<groovy.lang.Tuple<java.lang.Object>>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-