Google Cloud Dataflow SDK for Java, version 1.9.1
com.google.cloud.dataflow.sdk.transforms.windowing
Class PaneInfo.PaneInfoCoder
- java.lang.Object
-
- com.google.cloud.dataflow.sdk.coders.StandardCoder<T>
-
- com.google.cloud.dataflow.sdk.coders.DeterministicStandardCoder<T>
-
- com.google.cloud.dataflow.sdk.coders.AtomicCoder<PaneInfo>
-
- com.google.cloud.dataflow.sdk.transforms.windowing.PaneInfo.PaneInfoCoder
-
- All Implemented Interfaces:
- Coder<PaneInfo>, Serializable
- Enclosing class:
- PaneInfo
public static class PaneInfo.PaneInfoCoder extends AtomicCoder<PaneInfo>
A Coder for encoding PaneInfo instances.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.cloud.dataflow.sdk.coders.Coder
Coder.Context, Coder.NonDeterministicException
-
-
Field Summary
Fields Modifier and Type Field and Description static PaneInfo.PaneInfoCoder
INSTANCE
-
Constructor Summary
Constructors Constructor and Description PaneInfoCoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description PaneInfo
decode(InputStream inStream, Coder.Context context)
Decodes a value of typeT
from the given input stream in the given context.void
encode(PaneInfo value, OutputStream outStream, Coder.Context context)
Encodes the given value of typeT
onto the given output stream in the given context.-
Methods inherited from class com.google.cloud.dataflow.sdk.coders.AtomicCoder
getCoderArguments, getInstanceComponents
-
Methods inherited from class com.google.cloud.dataflow.sdk.coders.DeterministicStandardCoder
verifyDeterministic
-
Methods inherited from class com.google.cloud.dataflow.sdk.coders.StandardCoder
asCloudObject, consistentWithEquals, equals, getAllowedEncodings, getComponents, getEncodedElementByteSize, getEncodingId, hashCode, isRegisterByteSizeObserverCheap, registerByteSizeObserver, structuralValue, toString, verifyDeterministic, verifyDeterministic
-
-
-
-
Field Detail
-
INSTANCE
public static final PaneInfo.PaneInfoCoder INSTANCE
-
-
Method Detail
-
encode
public void encode(PaneInfo value, OutputStream outStream, Coder.Context context) throws CoderException, IOException
Description copied from interface:Coder
Encodes the given value of typeT
onto the given output stream in the given context.- Throws:
CoderException
- if the value could not be encoded for some reasonIOException
- if writing to theOutputStream
fails for some reason
-
decode
public PaneInfo decode(InputStream inStream, Coder.Context context) throws CoderException, IOException
Description copied from interface:Coder
Decodes a value of typeT
from the given input stream in the given context. Returns the decoded value.- Throws:
CoderException
- if the value could not be decoded for some reasonIOException
- if reading from theInputStream
fails for some reason
-
-