@Internal @Experimental(value=SCHEMAS) @AutoService(value=PayloadSerializerProvider.class) public class JsonPayloadSerializerProvider extends java.lang.Object implements PayloadSerializerProvider
Constructor and Description |
---|
JsonPayloadSerializerProvider() |
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