Needs-delimiters encoding means that the encoding of data must be such that when decoding, the coder is able to stop decoding data at the end of the current element.
Whole stream encoding/decoding means that the encoding/decoding function does not need to worry about delimiting the start and end of the current element in the stream of bytes.
Generated using TypeDoc
The context for encoding a PCollection element. For example, for strings of utf8 characters or bytes,
wholeStream
encoding means that the string will be encoded as-is; whileneedsDelimiter
encoding means that the string will be encoded prefixed with its length.