Google Cloud Dataflow SDK for Java, version 1.9.1
com.google.cloud.dataflow.sdk.coders
Class Coder.Context
- java.lang.Object
-
- com.google.cloud.dataflow.sdk.coders.Coder.Context
-
-
Field Summary
Fields Modifier and Type Field and Description boolean
isWholeStream
Whether the encoded or decoded value fills the remainder of the output or input (resp.) record/stream contents.static Coder.Context
NESTED
The nested context: the value being encoded or decoded is (potentially) a part of a larger record/stream contents, and may have other parts encoded or decoded after it.static Coder.Context
OUTER
The outer context: the value being encoded or decoded takes up the remainder of the record/stream contents.
-
Constructor Summary
Constructors Constructor and Description Context(boolean isWholeStream)
-
-
-
Field Detail
-
OUTER
public static final Coder.Context OUTER
The outer context: the value being encoded or decoded takes up the remainder of the record/stream contents.
-
NESTED
public static final Coder.Context NESTED
The nested context: the value being encoded or decoded is (potentially) a part of a larger record/stream contents, and may have other parts encoded or decoded after it.
-
isWholeStream
public final boolean isWholeStream
Whether the encoded or decoded value fills the remainder of the output or input (resp.) record/stream contents. If so, then the size of the decoded value can be determined from the remaining size of the record/stream contents, and so explicit lengths aren't required.
-
-