Class RangePartitioning.Range.Builder (2.41.0)

public static final class RangePartitioning.Range.Builder

A builder for Range objects.

Inheritance

java.lang.Object > RangePartitioning.Range.Builder

Methods

build()

public RangePartitioning.Range build()

Creates a Range object.

Returns
Type Description
RangePartitioning.Range

setEnd(Long end)

public RangePartitioning.Range.Builder setEnd(Long end)

[Required] The end of range partitioning, exclusive. The value may be null.

Parameter
Name Description
end Long
Returns
Type Description
RangePartitioning.Range.Builder

setInterval(Long interval)

public RangePartitioning.Range.Builder setInterval(Long interval)

[Required] The width of each interval. The value may be null.

Parameter
Name Description
interval Long
Returns
Type Description
RangePartitioning.Range.Builder

setStart(Long start)

public RangePartitioning.Range.Builder setStart(Long start)

[Required] The start of range partitioning, inclusive. The value may be null.

Parameter
Name Description
start Long
Returns
Type Description
RangePartitioning.Range.Builder