@Internal 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.
|
default java.lang.String |
description()
Returns a description regarding the
SchemaTransform represented by the SchemaTransformProvider . |
SchemaTransform |
from(Row configuration)
Produce a
SchemaTransform from 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()
default java.lang.String description()
SchemaTransform
represented by the SchemaTransformProvider
. Please keep the language generic (i.e. not specific to any
programming language). The description may be markdown formatted.Schema configurationSchema()
SchemaTransform from(Row configuration)
SchemaTransform
from some transform-specific configuration object. Can throw
a 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)