Class IsmFormat.KeyPrefixCoder
- java.lang.Object
-
- org.apache.beam.sdk.coders.Coder<T>
-
- org.apache.beam.sdk.coders.StructuredCoder<T>
-
- org.apache.beam.sdk.coders.AtomicCoder<IsmFormat.KeyPrefix>
-
- org.apache.beam.runners.dataflow.internal.IsmFormat.KeyPrefixCoder
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- IsmFormat
public static final class IsmFormat.KeyPrefixCoder extends org.apache.beam.sdk.coders.AtomicCoder<IsmFormat.KeyPrefix>
ACoderforIsmFormat.KeyPrefix.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyPrefixCoder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconsistentWithEquals()IsmFormat.KeyPrefixdecode(java.io.InputStream inStream)voidencode(IsmFormat.KeyPrefix value, java.io.OutputStream outStream)longgetEncodedElementByteSize(IsmFormat.KeyPrefix value)booleanisRegisterByteSizeObserverCheap(IsmFormat.KeyPrefix value)static IsmFormat.KeyPrefixCoderof()voidverifyDeterministic()-
Methods inherited from class org.apache.beam.sdk.coders.AtomicCoder
equals, getCoderArguments, getComponents, hashCode
-
-
-
-
Method Detail
-
of
public static IsmFormat.KeyPrefixCoder of()
-
encode
public void encode(IsmFormat.KeyPrefix value, java.io.OutputStream outStream) throws org.apache.beam.sdk.coders.CoderException, java.io.IOException
- Specified by:
encodein classorg.apache.beam.sdk.coders.Coder<IsmFormat.KeyPrefix>- Throws:
org.apache.beam.sdk.coders.CoderExceptionjava.io.IOException
-
decode
public IsmFormat.KeyPrefix decode(java.io.InputStream inStream) throws org.apache.beam.sdk.coders.CoderException, java.io.IOException
- Specified by:
decodein classorg.apache.beam.sdk.coders.Coder<IsmFormat.KeyPrefix>- Throws:
org.apache.beam.sdk.coders.CoderExceptionjava.io.IOException
-
verifyDeterministic
public void verifyDeterministic()
- Overrides:
verifyDeterministicin classorg.apache.beam.sdk.coders.AtomicCoder<IsmFormat.KeyPrefix>
-
consistentWithEquals
public boolean consistentWithEquals()
- Overrides:
consistentWithEqualsin classorg.apache.beam.sdk.coders.Coder<IsmFormat.KeyPrefix>
-
isRegisterByteSizeObserverCheap
public boolean isRegisterByteSizeObserverCheap(IsmFormat.KeyPrefix value)
- Overrides:
isRegisterByteSizeObserverCheapin classorg.apache.beam.sdk.coders.Coder<IsmFormat.KeyPrefix>
-
getEncodedElementByteSize
public long getEncodedElementByteSize(IsmFormat.KeyPrefix value) throws java.lang.Exception
- Overrides:
getEncodedElementByteSizein classorg.apache.beam.sdk.coders.Coder<IsmFormat.KeyPrefix>- Throws:
java.lang.Exception
-
-