Class RangePartitioning.Builder

java.lang.Object
com.google.cloud.bigquery.RangePartitioning.Builder
Enclosing class:
RangePartitioning

public static final class RangePartitioning.Builder extends Object
A builder for RangePartitioning objects.
  • Method Details

    • setField

      public RangePartitioning.Builder setField(String field)
      [Required] The table is partitioned by this field. The field must be a top- level NULLABLE/REQUIRED field. The only supported type is INTEGER/INT64.
      Parameters:
      field - field or null for none
    • setRange

      [Required] Defines the ranges for range partitioning.
      Parameters:
      range - range or null for none
    • build

      public RangePartitioning build()
      Creates a RangePartitioning object.