We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25af774 commit d814ab7Copy full SHA for d814ab7
1 file changed
sdks/java/core/src/main/java/org/apache/beam/sdk/coders/Coder.java
@@ -69,6 +69,16 @@
69
* </ul>
70
*
71
* @param <T> the type of values handled by this {@link Coder}
72
+ *
73
+ * <p>The behavior of encoding and decoding depends on the {@link Context}.
74
75
+ * <ul>
76
+ * <li>In {@link Context#OUTER}, the value consumes the remainder of the stream.
77
+ * <li>In {@link Context#NESTED}, the value is part of a larger structure and must be
78
+ * self-delimiting so that subsequent values can be correctly decoded.
79
+ * </ul>
80
81
+ * <p>See {@link CoderProperties} for utilities to test coder correctness and consistency.
82
*/
83
public abstract class Coder<T> implements Serializable {
84
/**
0 commit comments