Class IdentityPartitioningDTO

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

public final class IdentityPartitioningDTO extends Partitioning.SingleFieldPartitioning
Represents the identity partitioning.
  • Method Details

    • of

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

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