public static final class RangePartitioning.Builder
A 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 |
String field 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.Range range or |
Returns | |
---|---|
Type | Description |
RangePartitioning.Builder |