Class HourPartitioningDTO

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

public final class HourPartitioningDTO extends Partitioning.SingleFieldPartitioning
Represents the hour partitioning.
  • Method Details

    • of

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

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