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