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.sdk.util.construction.SdkComponents sdkComponents)
Convert to a cloud object.
|
public CloudObject toCloudObject(SchemaCoder target, org.apache.beam.sdk.util.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()
CloudObjectTranslator
CloudObjectTranslator
is capable of converting.getSupportedClass
in interface CloudObjectTranslator<SchemaCoder>
public java.lang.String cloudObjectClassName()
CloudObjectTranslator
CloudObject
created by this CloudObjectTranslator
.cloudObjectClassName
in interface CloudObjectTranslator<SchemaCoder>