Package org.apache.beam.sdk.coders
Annotation Interface DefaultCoder
The
DefaultCoder annotation specifies a Coder class to handle encoding and
decoding instances of the annotated class.
The specified Coder must have the following method:
public static CoderProvider getCoderProvider().
Coders specified explicitly via PCollection.setCoder(org.apache.beam.sdk.coders.Coder<T>) take precedence, followed by
Coders found at runtime via CoderRegistry.getCoder(java.lang.Class<T>). See CoderRegistry for a more
detailed discussion of the precedence rules.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classACoderProviderRegistrarthat registers aCoderProviderwhich can use the@DefaultCoderannotation to providecoder providersthat createsCoders. -
Required Element Summary
Required Elements
-
Element Details
-
value
-