@Internal @Experimental(value=SCHEMAS) public abstract class TypedSchemaTransformProvider<ConfigT> extends java.lang.Object implements SchemaTransformProvider
SchemaTransformProvider
except uses a configuration object instead of Schema and
Row.
ConfigT should be available in the SchemaRegistry.
Internal only: This interface is actively being worked on and it will likely change as we provide implementations for more standard Beam transforms. We provide no backwards compatibility guarantees and it should not be implemented outside of the Beam repository.
Constructor and Description |
---|
TypedSchemaTransformProvider() |
Modifier and Type | Method and Description |
---|---|
Schema |
configurationSchema()
Returns the expected schema of the configuration object.
|
java.util.Optional<java.util.List<java.lang.String>> |
dependencies(Row configuration,
PipelineOptions options)
List the dependencies needed for this transform.
|
SchemaTransform |
from(Row configuration)
Produce a SchemaTransform some transform-specific configuration object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
identifier, inputCollectionNames, outputCollectionNames
public final Schema configurationSchema()
SchemaTransformProvider
configurationSchema
in interface SchemaTransformProvider
public final SchemaTransform from(Row configuration)
SchemaTransformProvider
InvalidConfigurationException
or a InvalidSchemaException
.from
in interface SchemaTransformProvider
public final java.util.Optional<java.util.List<java.lang.String>> dependencies(Row configuration, PipelineOptions options)
SchemaTransformProvider
dependencies
in interface SchemaTransformProvider