Class RangePartitioning.Range.Builder (2.25.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
TypeDescription
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
NameDescription
endLong
Returns
TypeDescription
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
NameDescription
intervalLong
Returns
TypeDescription
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
NameDescription
startLong
Returns
TypeDescription
RangePartitioning.Range.Builder