Package com.google.cloud.bigquery
Class RangePartitioning.Builder
java.lang.Object
com.google.cloud.bigquery.RangePartitioning.Builder
- Enclosing class:
- RangePartitioning
A builder for
RangePartitioning objects.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates aRangePartitioningobject.[Required] The table is partitioned by this field.setRange(RangePartitioning.Range range) [Required] Defines the ranges for range partitioning.
-
Method Details
-
setField
[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 ornullfor none
-
setRange
[Required] Defines the ranges for range partitioning.- Parameters:
range- range ornullfor none
-
build
Creates aRangePartitioningobject.
-