Class TypedSchemaTransformProvider<ConfigT>

  • All Implemented Interfaces:
    SchemaTransformProvider

    @Internal
    @Experimental(SCHEMAS)
    public abstract class TypedSchemaTransformProvider<ConfigT>
    extends java.lang.Object
    implements SchemaTransformProvider
    Like 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 Detail

      • TypedSchemaTransformProvider

        public TypedSchemaTransformProvider()
    • Method Detail

      • configurationClass

        protected abstract java.lang.Class<ConfigT> configurationClass()
      • from

        protected abstract SchemaTransform from​(ConfigT configuration)
        Produce a SchemaTransform from ConfigT. Can throw a InvalidConfigurationException or a InvalidSchemaException.
      • dependencies

        public final java.util.Optional<java.util.List<java.lang.String>> dependencies​(Row configuration,
                                                                                       PipelineOptions options)
        Description copied from interface: SchemaTransformProvider
        List the dependencies needed for this transform. Jars from classpath are used by default when Optional.empty() is returned.
        Specified by:
        dependencies in interface SchemaTransformProvider