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