Class ClusterByPartition

java.lang.Object
org.apache.druid.frame.key.ClusterByPartition

public class ClusterByPartition extends Object
Boundaries of a partition marked by start and end keys. The keys are generally described by a ClusterBy instance that is not referenced here. (It is generally provided contextually.) Often, this object is part of a full partition set represented by ClusterByPartitions.
  • Constructor Details

    • ClusterByPartition

      public ClusterByPartition(@Nullable RowKey start, @Nullable RowKey end)
  • Method Details

    • getStart

      @Nullable public RowKey getStart()
      Get the starting key for this range. It is inclusive (the range *does* contain this key). Null means the range is unbounded at the start.
    • getEnd

      @Nullable public RowKey getEnd()
      Get the ending key for this range. It is exclusive (the range *does not* contain this key). Null means the range is unbounded at the end.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object