Class RangePartitioning.Builder (2.54.2)

publicstaticfinalclass RangePartitioning.Builder

A builder for RangePartitioning objects.

Inheritance

java.lang.Object > RangePartitioning.Builder

Methods

build()

publicRangePartitioningbuild()

Creates a RangePartitioning object.

Returns
Type Description
RangePartitioning

setField(String field)

publicRangePartitioning.BuildersetField(Stringfield)

[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)

publicRangePartitioning.BuildersetRange(RangePartitioning.Rangerange)

[Required] Defines the ranges for range partitioning.

Parameter
Name Description
range RangePartitioning.Range

range or null for none

Returns
Type Description
RangePartitioning.Builder

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.