Class RangePartition

  • All Implemented Interfaces:
    java.lang.Cloneable
    Direct Known Subclasses:
    RangeEdgePartition

    public class RangePartition
    extends Predicate
    Author:
    Magnar Nedland
    • Constructor Detail

      • RangePartition

        public RangePartition​(java.lang.String label)
      • RangePartition

        public RangePartition​(java.lang.String key,
                              long fromInclusive,
                              long toInclusive,
                              boolean isNeg)
    • Method Detail

      • getLabel

        public java.lang.String getLabel()
      • clone

        public RangePartition clone()
                             throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class Predicate
        Throws:
        java.lang.CloneNotSupportedException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • appendTo

        protected void appendTo​(java.lang.StringBuilder out)
        Specified by:
        appendTo in class Predicate