Class SchemaCoderCloudObjectTranslator
java.lang.Object
org.apache.beam.runners.dataflow.util.SchemaCoderCloudObjectTranslator
- All Implemented Interfaces:
CloudObjectTranslator<SchemaCoder>
public class SchemaCoderCloudObjectTranslator
extends Object
implements CloudObjectTranslator<SchemaCoder>
Translator for Schema coders.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the class name that will represent theCloudObjectcreated by thisCloudObjectTranslator.fromCloudObject(CloudObject cloudObject) Convert from a cloud object.Class<? extends SchemaCoder> Gets the class thisCloudObjectTranslatoris capable of converting.toCloudObject(SchemaCoder target, org.apache.beam.sdk.util.construction.SdkComponents sdkComponents) Convert to a cloud object.
-
Constructor Details
-
SchemaCoderCloudObjectTranslator
public SchemaCoderCloudObjectTranslator()
-
-
Method Details
-
toCloudObject
public CloudObject toCloudObject(SchemaCoder target, org.apache.beam.sdk.util.construction.SdkComponents sdkComponents) Convert to a cloud object.- Specified by:
toCloudObjectin interfaceCloudObjectTranslator<SchemaCoder>
-
fromCloudObject
Convert from a cloud object.- Specified by:
fromCloudObjectin interfaceCloudObjectTranslator<SchemaCoder>
-
getSupportedClass
Description copied from interface:CloudObjectTranslatorGets the class thisCloudObjectTranslatoris capable of converting.- Specified by:
getSupportedClassin interfaceCloudObjectTranslator<SchemaCoder>
-
cloudObjectClassName
Description copied from interface:CloudObjectTranslatorGets the class name that will represent theCloudObjectcreated by thisCloudObjectTranslator.- Specified by:
cloudObjectClassNamein interfaceCloudObjectTranslator<SchemaCoder>
-