Coders

Coders is a serialization and deserialization framework to define how data (of type T) is encoded to and decoded from byte streams.

The main abstraction is Coder.

In many cases, the Coder can be inferred from the available Java type information and CoderRegistry.

Coders can also be specified per PCollection or per type using @DefaultCoder annotation.