Package org.apache.beam.sdk.coders
Interface CoderProviderRegistrar
- All Known Implementing Classes:
AmqpMessageCoderProviderRegistrar,BigQueryCoderProviderRegistrar,DefaultCoder.DefaultCoderProviderRegistrar,HBaseCoderProviderRegistrar,ProtobufCoderProviderRegistrar,PubsubCoderProviderRegistrar,SerializableCoder.SerializableCoderProviderRegistrar,WritableCoder.WritableCoderProviderRegistrar
public interface CoderProviderRegistrar
Coder creators have the ability to automatically have their coders
registered with this SDK by creating a ServiceLoader entry and a concrete implementation
of this interface.
It is optional but recommended to use one of the many build time tools such as AutoService to generate the necessary META-INF files automatically.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list ofcoder providerswhich will be registered by default within eachcoder registryinstance.
-
Method Details
-
getCoderProviders
List<CoderProvider> getCoderProviders()Returns a list ofcoder providerswhich will be registered by default within eachcoder registryinstance.See
CoderProvidersfor convenience methods to construct aCoderProvider.
-