@DefaultSchema(value=AutoValueSchema.class) public abstract static class SpannerReadSchemaTransformProvider.SpannerReadSchemaTransformConfiguration extends java.lang.Object implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SpannerReadSchemaTransformProvider.SpannerReadSchemaTransformConfiguration.Builder |
Constructor and Description |
---|
SpannerReadSchemaTransformConfiguration() |
Modifier and Type | Method and Description |
---|---|
static SpannerReadSchemaTransformProvider.SpannerReadSchemaTransformConfiguration.Builder |
builder() |
abstract java.lang.Boolean |
getBatching() |
abstract java.util.List<java.lang.String> |
getColumns() |
abstract java.lang.String |
getDatabaseId() |
abstract java.lang.String |
getIndex() |
abstract java.lang.String |
getInstanceId() |
abstract java.lang.String |
getProjectId() |
abstract java.lang.String |
getQuery() |
abstract java.lang.String |
getTableId() |
void |
validate() |
public SpannerReadSchemaTransformConfiguration()
public void validate()
public static SpannerReadSchemaTransformProvider.SpannerReadSchemaTransformConfiguration.Builder builder()
@SchemaFieldDescription(value="Specifies the Cloud Spanner instance.") public abstract java.lang.String getInstanceId()
@SchemaFieldDescription(value="Specifies the Cloud Spanner database.") public abstract java.lang.String getDatabaseId()
@SchemaFieldDescription(value="Specifies the GCP project ID.") @Nullable public abstract java.lang.String getProjectId()
@SchemaFieldDescription(value="Specifies the Cloud Spanner table.") @Nullable public abstract java.lang.String getTableId()
@SchemaFieldDescription(value="Specifies the SQL query to execute.") @Nullable public abstract java.lang.String getQuery()
@SchemaFieldDescription(value="Specifies the columns to read from the table. This parameter is required when table is specified.") @Nullable public abstract java.util.List<java.lang.String> getColumns()
@SchemaFieldDescription(value="Specifies the Index to read from. This parameter can only be specified when using table.") @Nullable public abstract java.lang.String getIndex()
@SchemaFieldDescription(value="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 java.lang.Boolean getBatching()