Class SpannerReadSchemaTransformProvider.SpannerReadSchemaTransformConfiguration
java.lang.Object
org.apache.beam.sdk.io.gcp.spanner.SpannerReadSchemaTransformProvider.SpannerReadSchemaTransformConfiguration
- All Implemented Interfaces:
Serializable
- Enclosing class:
SpannerReadSchemaTransformProvider
@DefaultSchema(AutoValueSchema.class)
public abstract static class SpannerReadSchemaTransformProvider.SpannerReadSchemaTransformConfiguration
extends Object
implements Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SpannerReadSchemaTransformConfiguration
public SpannerReadSchemaTransformConfiguration()
-
-
Method Details
-
validate
public void validate() -
builder
public static SpannerReadSchemaTransformProvider.SpannerReadSchemaTransformConfiguration.Builder builder() -
getInstanceId
@SchemaFieldDescription("Specifies the Cloud Spanner instance.") public abstract String getInstanceId() -
getDatabaseId
@SchemaFieldDescription("Specifies the Cloud Spanner database.") public abstract String getDatabaseId() -
getProjectId
@SchemaFieldDescription("Specifies the GCP project ID.") @Nullable public abstract String getProjectId() -
getTableId
@SchemaFieldDescription("Specifies the Cloud Spanner table.") @Nullable public abstract String getTableId() -
getQuery
@SchemaFieldDescription("Specifies the SQL query to execute.") @Nullable public abstract String getQuery() -
getColumns
@SchemaFieldDescription("Specifies the columns to read from the table. This parameter is required when table is specified.") @Nullable public abstract List<String> getColumns() -
getIndex
@SchemaFieldDescription("Specifies the Index to read from. This parameter can only be specified when using table.") @Nullable public abstract String getIndex() -
getBatching
@SchemaFieldDescription("Set to false to disable batching. Useful when using a query that is not compatible with the PartitionQuery API. Defaults to true.") @Nullable public abstract Boolean getBatching() -
getErrorHandling
@SchemaFieldDescription("This option specifies whether and where to output unwritable rows.") @Nullable public abstract ErrorHandling getErrorHandling()
-