Class AvroGenericCoderTranslator
java.lang.Object
org.apache.beam.sdk.extensions.avro.AvroGenericCoderTranslator
- All Implemented Interfaces:
org.apache.beam.sdk.util.construction.CoderTranslator<AvroGenericCoder>
public class AvroGenericCoderTranslator
extends Object
implements org.apache.beam.sdk.util.construction.CoderTranslator<AvroGenericCoder>
Coder translator for AvroGenericCoder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromComponents
(List<Coder<?>> components, byte[] payload, org.apache.beam.sdk.util.construction.CoderTranslation.TranslationContext context) byte[]
getPayload
(AvroGenericCoder from)
-
Constructor Details
-
AvroGenericCoderTranslator
public AvroGenericCoderTranslator()
-
-
Method Details
-
getComponents
- Specified by:
getComponents
in interfaceorg.apache.beam.sdk.util.construction.CoderTranslator<AvroGenericCoder>
-
getPayload
- Specified by:
getPayload
in interfaceorg.apache.beam.sdk.util.construction.CoderTranslator<AvroGenericCoder>
-
fromComponents
public AvroGenericCoder fromComponents(List<Coder<?>> components, byte[] payload, org.apache.beam.sdk.util.construction.CoderTranslation.TranslationContext context) - Specified by:
fromComponents
in interfaceorg.apache.beam.sdk.util.construction.CoderTranslator<AvroGenericCoder>
-