Class YearPartitioningDTO

java.lang.Object
org.apache.gravitino.dto.rel.partitioning.Partitioning.SingleFieldPartitioning
org.apache.gravitino.dto.rel.partitioning.YearPartitioningDTO
All Implemented Interfaces:
Partitioning, Expression, Transform

public final class YearPartitioningDTO extends Partitioning.SingleFieldPartitioning
Represents the year partitioning.
  • Method Details

    • of

      public static YearPartitioningDTO of(String[] fieldName)
      Creates a new YearPartitioningDTO.
      Parameters:
      fieldName - The name of the field to partition.
      Returns:
      The new YearPartitioningDTO.
    • strategy

      public Partitioning.Strategy strategy()
      Description copied from interface: Partitioning
      Returns the name of the partitioning strategy.
      Returns:
      The strategy of the partitioning.