Class RangePartitioning.Builder (2.40.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
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 null for none

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 null for none

Returns
Type Description
RangePartitioning.Builder