Class BigQuerySchemaTransformReadProvider
- java.lang.Object
-
- org.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider<BigQuerySchemaTransformReadConfiguration>
-
- org.apache.beam.sdk.io.gcp.bigquery.BigQuerySchemaTransformReadProvider
-
- All Implemented Interfaces:
org.apache.beam.sdk.schemas.transforms.SchemaTransformProvider
@Internal @Experimental(SCHEMAS) public class BigQuerySchemaTransformReadProvider extends org.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider<BigQuerySchemaTransformReadConfiguration>
An implementation ofTypedSchemaTransformProviderfor BigQuery read jobs configured usingBigQuerySchemaTransformReadConfiguration.Internal only: This class is actively being worked on, and it will likely change. We provide no backwards compatibility guarantees, and it should not be implemented outside the Beam repository.
-
-
Constructor Summary
Constructors Constructor Description BigQuerySchemaTransformReadProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Class<BigQuerySchemaTransformReadConfiguration>configurationClass()Returns the expected class of the configuration.protected org.apache.beam.sdk.schemas.transforms.SchemaTransformfrom(BigQuerySchemaTransformReadConfiguration configuration)Returns the expectedSchemaTransformof the configuration.java.lang.Stringidentifier()Implementation of theTypedSchemaTransformProvideridentifier method.java.util.List<java.lang.String>inputCollectionNames()Implementation of theTypedSchemaTransformProviderinputCollectionNames method.java.util.List<java.lang.String>outputCollectionNames()Implementation of theTypedSchemaTransformProvideroutputCollectionNames method.
-
-
-
Method Detail
-
configurationClass
protected java.lang.Class<BigQuerySchemaTransformReadConfiguration> configurationClass()
Returns the expected class of the configuration.- Specified by:
configurationClassin classorg.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider<BigQuerySchemaTransformReadConfiguration>
-
from
protected org.apache.beam.sdk.schemas.transforms.SchemaTransform from(BigQuerySchemaTransformReadConfiguration configuration)
Returns the expectedSchemaTransformof the configuration.- Specified by:
fromin classorg.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider<BigQuerySchemaTransformReadConfiguration>
-
identifier
public java.lang.String identifier()
Implementation of theTypedSchemaTransformProvideridentifier method.
-
inputCollectionNames
public java.util.List<java.lang.String> inputCollectionNames()
Implementation of theTypedSchemaTransformProviderinputCollectionNames method. Since no input is expected, this returns an empty list.
-
outputCollectionNames
public java.util.List<java.lang.String> outputCollectionNames()
Implementation of theTypedSchemaTransformProvideroutputCollectionNames method. Since a single output is expected, this returns a list with a single name.
-
-