Class ListPartitionDTO.Builder
java.lang.Object
org.apache.gravitino.dto.rel.partitions.ListPartitionDTO.Builder
- Enclosing class:
- ListPartitionDTO
The builder for ListPartitionDTO.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the ListPartitionDTO.withLists
(LiteralDTO[][] lists) Set the lists of the partition for the builder.Set the name of the partition for the builder.withProperties
(Map<String, String> properties) Set the properties of the partition for the builder.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withName
Set the name of the partition for the builder.- Parameters:
name
- The name of the partition.- Returns:
- The builder.
-
withLists
Set the lists of the partition for the builder.- Parameters:
lists
- The lists of the partition.- Returns:
- The builder.
-
withProperties
Set the properties of the partition for the builder.- Parameters:
properties
- The properties of the partition.- Returns:
- The builder.
-
build
Build the ListPartitionDTO.- Returns:
- The ListPartitionDTO.
-