We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79fb360 commit 2ee8b6bCopy full SHA for 2ee8b6b
sdks/java/core/src/main/java/org/apache/beam/sdk/coders/Coder.java
@@ -52,6 +52,11 @@
52
* <p>All methods of a {@link Coder} are required to be thread safe.
53
*
54
* @param <T> the type of values being encoded and decoded
55
+ * <p>The behavior of encoding and decoding depends on the {@link Context}.
56
+ * <p>In {@link Context#OUTER}, the value consumes the remainder of the stream.
57
+ * <p>In {@link Context#NESTED}, the value is part of a larger structure and must be
58
+ * self-delimiting so that subsequent values can be correctly decoded.
59
+ * <p>See {@link CoderProperties} for utilities to test coder correctness and consistency.
60
*/
61
public abstract class Coder<T> implements Serializable {
62
/**
0 commit comments