Class RangePartitioning.Builder (2.7.1)

public static final class RangePartitioning.Builder

A builder for RangePartitioning objects.

Inheritance

java.lang.Object > RangePartitioning.Builder

Methods

build()

public RangePartitioning build()

Creates a RangePartitioning object.

Returns
TypeDescription
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
NameDescription
fieldString

field or null for none

Returns
TypeDescription
RangePartitioning.Builder

setRange(RangePartitioning.Range range)

public RangePartitioning.Builder setRange(RangePartitioning.Range range)

[Required] Defines the ranges for range partitioning.

Parameter
NameDescription
rangeRangePartitioning.Range

range or null for none

Returns
TypeDescription
RangePartitioning.Builder