@Internal @AutoService(value=PayloadSerializerProvider.class) public class ProtoPayloadSerializerProvider extends java.lang.Object implements PayloadSerializerProvider
Constructor and Description |
---|
ProtoPayloadSerializerProvider() |
Modifier and Type | Method and Description |
---|---|
PayloadSerializer |
getSerializer(Schema schema,
java.util.Map<java.lang.String,java.lang.Object> tableParams)
Get a PayloadSerializer.
|
java.lang.String |
identifier()
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