@Internal @Experimental(value=SCHEMAS) public interface SchemaTransformProvider
SchemaTransform
instances for use in Beam SQL and other SDKs.
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.
Modifier and Type | Method and Description |
---|---|
Schema |
configurationSchema()
Returns the expected schema of the configuration object.
|
default 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.
|
java.lang.String |
identifier()
Returns an id that uniquely represents this transform.
|
java.util.List<java.lang.String> |
inputCollectionNames()
Returns the input collection names of this transform.
|
java.util.List<java.lang.String> |
outputCollectionNames()
Returns the output collection names of this transform.
|
java.lang.String identifier()
Schema configurationSchema()
SchemaTransform from(Row configuration)
InvalidConfigurationException
or a InvalidSchemaException
.java.util.List<java.lang.String> inputCollectionNames()
java.util.List<java.lang.String> outputCollectionNames()
default java.util.Optional<java.util.List<java.lang.String>> dependencies(Row configuration, PipelineOptions options)