Package org.apache.beam.sdk.io.thrift
Class ThriftPayloadSerializerProvider
java.lang.Object
org.apache.beam.sdk.io.thrift.ThriftPayloadSerializerProvider
- All Implemented Interfaces:
PayloadSerializerProvider,Providers.Identifyable
@Internal
@AutoService(PayloadSerializerProvider.class)
public class ThriftPayloadSerializerProvider
extends Object
implements PayloadSerializerProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSerializer(Schema schema, Map<String, Object> tableParams) Get a PayloadSerializer.Returns an id that uniquely represents this among others implementing its derived interface.
-
Constructor Details
-
ThriftPayloadSerializerProvider
public ThriftPayloadSerializerProvider()
-
-
Method Details
-
identifier
Description copied from interface:Providers.IdentifyableReturns an id that uniquely represents this among others implementing its derived interface.- Specified by:
identifierin interfaceProviders.Identifyable
-
getSerializer
Description copied from interface:PayloadSerializerProviderGet a PayloadSerializer.- Specified by:
getSerializerin interfacePayloadSerializerProvider- Parameters:
schema- the schema of the payloadtableParams- parameters passed at table declaration time for configuring the serializer
-