Interface CoderCloudObjectTranslatorRegistrar
- All Known Implementing Classes:
 DefaultCoderCloudObjectTranslatorRegistrar
public interface CoderCloudObjectTranslatorRegistrar
Coder authors have the ability to automatically have their Coder registered with
 the Dataflow Runner 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 TypeMethodDescriptionMap<Class<? extends Coder>, CloudObjectTranslator<? extends Coder>> Map<String, CloudObjectTranslator<? extends Coder>> Gets a map from the name returned byCloudObject.getClassName()to a translator that can convert into the equivalentCoder. 
- 
Method Details
- 
classesToTranslators
Map<Class<? extends Coder>,CloudObjectTranslator<? extends Coder>> classesToTranslators() - 
classNamesToTranslators
Map<String,CloudObjectTranslator<? extends Coder>> classNamesToTranslators()Gets a map from the name returned byCloudObject.getClassName()to a translator that can convert into the equivalentCoder. 
 -