Interface Partitioning

All Superinterfaces:
Expression, Transform
All Known Implementing Classes:
BucketPartitioningDTO, DayPartitioningDTO, FunctionPartitioningDTO, HourPartitioningDTO, IdentityPartitioningDTO, ListPartitioningDTO, MonthPartitioningDTO, Partitioning.SingleFieldPartitioning, RangePartitioningDTO, TruncatePartitioningDTO, YearPartitioningDTO

public interface Partitioning extends Transform
A partitioning strategy is a way to divide a table into smaller, more manageable pieces. This interface represents a partitioning strategy.
  • Field Details

    • EMPTY_PARTITIONING

      static final Partitioning[] EMPTY_PARTITIONING
      An empty array of partitioning.
  • Method Details

    • strategy

      Returns the name of the partitioning strategy.
      Returns:
      The name of the partitioning strategy.
    • validate

      void validate(ColumnDTO[] columns) throws IllegalArgumentException
      Validates the partitioning columns.
      Parameters:
      columns - The columns to be validated.
      Throws:
      IllegalArgumentException - If the columns are invalid, this exception is thrown.