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 aRangePartitioning
object.[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 ornull
for none
-
setRange
[Required] Defines the ranges for range partitioning.- Parameters:
range
- range ornull
for none
-
build
Creates aRangePartitioning
object.
-