beam-sdks-java-core
and
will be eventually removed. Please, migrate to a new module
beam-sdks-java-extensions-avro
by importing
org.apache.beam.sdk.extensions.avro.schemas.io.payloads.AvroPayloadSerializerProvider
instead of this one.@Internal @Deprecated @AutoService(value=PayloadSerializerProvider.class) public class AvroPayloadSerializerProvider extends java.lang.Object implements PayloadSerializerProvider
Constructor and Description |
---|
AvroPayloadSerializerProvider()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PayloadSerializer |
getSerializer(Schema schema,
java.util.Map<java.lang.String,java.lang.Object> tableParams)
Deprecated.
Get a PayloadSerializer.
|
java.lang.String |
identifier()
Deprecated.
Returns an id that uniquely represents this among others implementing its derived interface.
|
public java.lang.String identifier()
Providers.Identifyable
identifier
in interface Providers.Identifyable
public PayloadSerializer getSerializer(Schema schema, java.util.Map<java.lang.String,java.lang.Object> tableParams)
PayloadSerializerProvider
getSerializer
in interface PayloadSerializerProvider
schema
- the schema of the payloadtableParams
- parameters passed at table declaration time for configuring the serializer