public static final class RangePartitioning.BuilderA builder for RangePartitioning objects.
Methods
build()
public RangePartitioning build()Creates a RangePartitioning object.
| Returns | |
|---|---|
| Type | Description |
RangePartitioning |
|
setField(String field)
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.
| Parameter | |
|---|---|
| Name | Description |
field |
Stringfield or |
| Returns | |
|---|---|
| Type | Description |
RangePartitioning.Builder |
|
setRange(RangePartitioning.Range range)
public RangePartitioning.Builder setRange(RangePartitioning.Range range)[Required] Defines the ranges for range partitioning.
| Parameter | |
|---|---|
| Name | Description |
range |
RangePartitioning.Rangerange or |
| Returns | |
|---|---|
| Type | Description |
RangePartitioning.Builder |
|