@Experimental(value=SCHEMAS) public class SchemaCoderCloudObjectTranslator extends java.lang.Object implements CloudObjectTranslator<SchemaCoder>
| Constructor and Description |
|---|
SchemaCoderCloudObjectTranslator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
cloudObjectClassName()
Gets the class name that will represent the
CloudObject created by this CloudObjectTranslator. |
SchemaCoder |
fromCloudObject(CloudObject cloudObject)
Convert from a cloud object.
|
java.lang.Class<? extends SchemaCoder> |
getSupportedClass()
Gets the class this
CloudObjectTranslator is capable of converting. |
CloudObject |
toCloudObject(SchemaCoder target,
org.apache.beam.runners.core.construction.SdkComponents sdkComponents)
Convert to a cloud object.
|
public CloudObject toCloudObject(SchemaCoder target, org.apache.beam.runners.core.construction.SdkComponents sdkComponents)
toCloudObject in interface CloudObjectTranslator<SchemaCoder>public SchemaCoder fromCloudObject(CloudObject cloudObject)
fromCloudObject in interface CloudObjectTranslator<SchemaCoder>public java.lang.Class<? extends SchemaCoder> getSupportedClass()
CloudObjectTranslatorCloudObjectTranslator is capable of converting.getSupportedClass in interface CloudObjectTranslator<SchemaCoder>public java.lang.String cloudObjectClassName()
CloudObjectTranslatorCloudObject created by this CloudObjectTranslator.cloudObjectClassName in interface CloudObjectTranslator<SchemaCoder>