Class BigqueryJobLoadTimePartitioning.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • type

        @Stability(Stable)
        public BigqueryJobLoadTimePartitioning.Builder type​(String type)
        Parameters:
        type - The only type supported is DAY, which will generate one partition per day. This parameter is required. Providing an empty string used to cause an error, but in OnePlatform the field will be treated as unset. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#type BigqueryJob#type}
        Returns:
        this
      • expirationMs

        @Stability(Stable)
        public BigqueryJobLoadTimePartitioning.Builder expirationMs​(String expirationMs)
        Parameters:
        expirationMs - Number of milliseconds for which to keep the storage for a partition. A wrapper is used here because 0 is an invalid value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#expiration_ms BigqueryJob#expiration_ms}
        Returns:
        this
      • field

        @Stability(Stable)
        public BigqueryJobLoadTimePartitioning.Builder field​(String field)
        Parameters:
        field - If not set, the table is partitioned by pseudo column '_PARTITIONTIME';. if set, the table is partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED. A wrapper is used here because an empty string is an invalid value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#field BigqueryJob#field}
        Returns:
        this