public class AvroGenericCoderTranslator extends java.lang.Object implements org.apache.beam.sdk.util.construction.CoderTranslator<AvroGenericCoder>
Constructor and Description |
---|
AvroGenericCoderTranslator() |
Modifier and Type | Method and Description |
---|---|
AvroGenericCoder |
fromComponents(java.util.List<Coder<?>> components,
byte[] payload,
org.apache.beam.sdk.util.construction.CoderTranslation.TranslationContext context) |
java.util.List<? extends Coder<?>> |
getComponents(AvroGenericCoder from) |
byte[] |
getPayload(AvroGenericCoder from) |
public java.util.List<? extends Coder<?>> getComponents(AvroGenericCoder from)
getComponents
in interface org.apache.beam.sdk.util.construction.CoderTranslator<AvroGenericCoder>
public byte[] getPayload(AvroGenericCoder from)
getPayload
in interface org.apache.beam.sdk.util.construction.CoderTranslator<AvroGenericCoder>
public AvroGenericCoder fromComponents(java.util.List<Coder<?>> components, byte[] payload, org.apache.beam.sdk.util.construction.CoderTranslation.TranslationContext context)
fromComponents
in interface org.apache.beam.sdk.util.construction.CoderTranslator<AvroGenericCoder>