Class ListPartitionDTO.Builder

java.lang.Object
org.apache.gravitino.dto.rel.partitions.ListPartitionDTO.Builder
Enclosing class:
ListPartitionDTO

public static class ListPartitionDTO.Builder extends Object
The builder for ListPartitionDTO.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • withName

      public ListPartitionDTO.Builder withName(String name)
      Set the name of the partition for the builder.
      Parameters:
      name - The name of the partition.
      Returns:
      The builder.
    • withLists

      public ListPartitionDTO.Builder withLists(LiteralDTO[][] lists)
      Set the lists of the partition for the builder.
      Parameters:
      lists - The lists of the partition.
      Returns:
      The builder.
    • withProperties

      public ListPartitionDTO.Builder withProperties(Map<String,String> properties)
      Set the properties of the partition for the builder.
      Parameters:
      properties - The properties of the partition.
      Returns:
      The builder.
    • build

      public ListPartitionDTO build()
      Build the ListPartitionDTO.
      Returns:
      The ListPartitionDTO.