Class RangePartitionDTO.Builder
java.lang.Object
org.apache.gravitino.dto.rel.partitions.RangePartitionDTO.Builder
- Enclosing class:
- RangePartitionDTO
Builder for
RangePartitionDTO.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withLower(LiteralDTO lower) Set the lower bound for the partition.Set the name for the partition.withProperties(Map<String, String> properties) Set the properties for the partition.withUpper(LiteralDTO upper) Set the upper bound for the partition.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withName
Set the name for the partition.- Parameters:
name- The name.- Returns:
- The builder.
-
withProperties
Set the properties for the partition.- Parameters:
properties- The properties.- Returns:
- The builder.
-
withUpper
Set the upper bound for the partition.- Parameters:
upper- The upper bound.- Returns:
- The builder.
-
withLower
Set the lower bound for the partition.- Parameters:
lower- The lower bound.- Returns:
- The builder.
-
build
- Returns:
- The range partition instance.
-