Package org.apache.beam.sdk.io.jdbc
Class JdbcReadSchemaTransformProvider
java.lang.Object
org.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider<JdbcReadSchemaTransformProvider.JdbcReadSchemaTransformConfiguration>
org.apache.beam.sdk.io.jdbc.JdbcReadSchemaTransformProvider
- All Implemented Interfaces:
SchemaTransformProvider
- Direct Known Subclasses:
ReadFromMySqlSchemaTransformProvider,ReadFromOracleSchemaTransformProvider,ReadFromPostgresSchemaTransformProvider,ReadFromSqlServerSchemaTransformProvider
@AutoService(SchemaTransformProvider.class)
public class JdbcReadSchemaTransformProvider
extends TypedSchemaTransformProvider<JdbcReadSchemaTransformProvider.JdbcReadSchemaTransformConfiguration>
An implementation of
SchemaTransformProvider for
reading from JDBC connections using JdbcIO.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @UnknownKeyFor @NonNull @Initialized Class<JdbcReadSchemaTransformProvider.JdbcReadSchemaTransformConfiguration> Returns a description regarding theSchemaTransformrepresented by theSchemaTransformProvider.protected @UnknownKeyFor @NonNull @Initialized SchemaTransformProduce a SchemaTransform from ConfigT.Returns an id that uniquely represents this transform.protected StringinheritedDescription(String prettyName, String transformName, String databaseSchema, int defaultJdbcPort) Returns the input collection names of this transform.protected StringjdbcType()Returns the output collection names of this transform.Methods inherited from class org.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider
configurationSchema, dependencies, from
-
Constructor Details
-
JdbcReadSchemaTransformProvider
public JdbcReadSchemaTransformProvider()
-
-
Method Details
-
identifier
Description copied from interface:SchemaTransformProviderReturns an id that uniquely represents this transform. -
description
Description copied from interface:SchemaTransformProviderReturns a description regarding theSchemaTransformrepresented by theSchemaTransformProvider. Please keep the language generic (i.e. not specific to any programming language). The description may be markdown formatted. -
inheritedDescription
-
configurationClass
protected @UnknownKeyFor @NonNull @Initialized Class<JdbcReadSchemaTransformProvider.JdbcReadSchemaTransformConfiguration> configurationClass() -
jdbcType
-
from
protected @UnknownKeyFor @NonNull @Initialized SchemaTransform from(JdbcReadSchemaTransformProvider.JdbcReadSchemaTransformConfiguration configuration) Description copied from class:TypedSchemaTransformProviderProduce a SchemaTransform from ConfigT. Can throw aInvalidConfigurationExceptionor aInvalidSchemaException.- Specified by:
fromin classTypedSchemaTransformProvider<JdbcReadSchemaTransformProvider.JdbcReadSchemaTransformConfiguration>
-
inputCollectionNames
public @UnknownKeyFor @NonNull @Initialized List<@UnknownKeyFor @NonNull @Initialized String> inputCollectionNames()Description copied from interface:SchemaTransformProviderReturns the input collection names of this transform. -
outputCollectionNames
public @UnknownKeyFor @NonNull @Initialized List<@UnknownKeyFor @NonNull @Initialized String> outputCollectionNames()Description copied from interface:SchemaTransformProviderReturns the output collection names of this transform.
-