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 ofTypedSchemaTransformProvider
for 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.SchemaTransform
from(BigQuerySchemaTransformReadConfiguration configuration)
Returns the expectedSchemaTransform
of the configuration.java.lang.String
identifier()
Implementation of theTypedSchemaTransformProvider
identifier method.java.util.List<java.lang.String>
inputCollectionNames()
Implementation of theTypedSchemaTransformProvider
inputCollectionNames method.java.util.List<java.lang.String>
outputCollectionNames()
Implementation of theTypedSchemaTransformProvider
outputCollectionNames method.
-
-
-
Method Detail
-
configurationClass
protected java.lang.Class<BigQuerySchemaTransformReadConfiguration> configurationClass()
Returns the expected class of the configuration.- Specified by:
configurationClass
in classorg.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider<BigQuerySchemaTransformReadConfiguration>
-
from
protected org.apache.beam.sdk.schemas.transforms.SchemaTransform from(BigQuerySchemaTransformReadConfiguration configuration)
Returns the expectedSchemaTransform
of the configuration.- Specified by:
from
in classorg.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider<BigQuerySchemaTransformReadConfiguration>
-
identifier
public java.lang.String identifier()
Implementation of theTypedSchemaTransformProvider
identifier method.
-
inputCollectionNames
public java.util.List<java.lang.String> inputCollectionNames()
Implementation of theTypedSchemaTransformProvider
inputCollectionNames method. Since no input is expected, this returns an empty list.
-
outputCollectionNames
public java.util.List<java.lang.String> outputCollectionNames()
Implementation of theTypedSchemaTransformProvider
outputCollectionNames method. Since a single output is expected, this returns a list with a single name.
-
-