@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, waitidentifier, inputCollectionNames, outputCollectionNamespublic final Schema configurationSchema()
SchemaTransformProviderconfigurationSchema in interface SchemaTransformProviderpublic final SchemaTransform from(Row configuration)
SchemaTransformProviderInvalidConfigurationException or a InvalidSchemaException.from in interface SchemaTransformProviderpublic final java.util.Optional<java.util.List<java.lang.String>> dependencies(Row configuration, PipelineOptions options)
SchemaTransformProviderdependencies in interface SchemaTransformProvider