Enum Class FuzzyRowFilter.Order

java.lang.Object
java.lang.Enum<FuzzyRowFilter.Order>
org.apache.hadoop.hbase.filter.FuzzyRowFilter.Order
All Implemented Interfaces:
Serializable, Comparable<FuzzyRowFilter.Order>, Constable
Enclosing class:
FuzzyRowFilter

private static enum FuzzyRowFilter.Order extends Enum<FuzzyRowFilter.Order>
Abstracts directional comparisons based on scan direction.
  • Enum Constant Details

  • Constructor Details

  • Method Details

    • values

      public static FuzzyRowFilter.Order[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FuzzyRowFilter.Order valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • orderFor

      public static FuzzyRowFilter.Order orderFor(boolean reverse)
    • lt

      public abstract boolean lt(int lhs, int rhs)
      Returns true when lhs < rhs.
    • gt

      public abstract boolean gt(int lhs, int rhs)
      Returns true when lhs > rhs.
    • inc

      public abstract byte inc(byte val)
      Returns val incremented by 1.
    • isMax

      public abstract boolean isMax(byte val)
      Return true when val is the maximum value
    • min

      public abstract byte min()
      Return the minimum value according to this ordering scheme.