Class BigQueryDirectReadSchemaTransformProvider.BigQueryDirectReadSchemaTransformConfiguration

  • Enclosing class:
    BigQueryDirectReadSchemaTransformProvider

    @DefaultSchema(org.apache.beam.sdk.schemas.AutoValueSchema.class)
    public abstract static class BigQueryDirectReadSchemaTransformProvider.BigQueryDirectReadSchemaTransformConfiguration
    extends java.lang.Object
    Configuration for reading from BigQuery with Storage Read API.
    • Constructor Detail

      • BigQueryDirectReadSchemaTransformConfiguration

        public BigQueryDirectReadSchemaTransformConfiguration()
    • Method Detail

      • validate

        public void validate()
      • getQuery

        @SchemaFieldDescription("The SQL query to be executed to read from the BigQuery table.")
        @Nullable
        public abstract java.lang.String getQuery()
      • getTableSpec

        @SchemaFieldDescription("The fully-qualified name of the BigQuery table to read from. Format: [${PROJECT}:]${DATASET}.${TABLE}")
        @Nullable
        public abstract java.lang.String getTableSpec()
      • getRowRestriction

        @SchemaFieldDescription("Read only rows that match this filter, which must be compatible with Google standard SQL. This is not supported when reading via query.")
        @Nullable
        public abstract java.lang.String getRowRestriction()
      • getSelectedFields

        @SchemaFieldDescription("Read only the specified fields (columns) from a BigQuery table. Fields may not be returned in the order specified. If no value is specified, then all fields are returned. Example: \"col1, col2, col3\"")
        @Nullable
        public abstract java.util.List<java.lang.String> getSelectedFields()
      • getKmsKey

        @SchemaFieldDescription("Use this Cloud KMS key to encrypt your data")
        @Nullable
        public abstract java.lang.String getKmsKey()