org.apache.hadoop.hbase.filter
Enum CompareFilter.CompareOp

java.lang.Object
  extended by java.lang.Enum<CompareFilter.CompareOp>
      extended by org.apache.hadoop.hbase.filter.CompareFilter.CompareOp
All Implemented Interfaces:
Serializable, Comparable<CompareFilter.CompareOp>
Enclosing class:
CompareFilter

public static enum CompareFilter.CompareOp
extends Enum<CompareFilter.CompareOp>

Comparison operators.


Enum Constant Summary
EQUAL
          equals
GREATER
          greater than
GREATER_OR_EQUAL
          greater than or equal to
LESS
          less than
LESS_OR_EQUAL
          less than or equal to
NO_OP
          no operation
NOT_EQUAL
          not equal
 
Method Summary
static CompareFilter.CompareOp valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CompareFilter.CompareOp[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LESS

public static final CompareFilter.CompareOp LESS
less than


LESS_OR_EQUAL

public static final CompareFilter.CompareOp LESS_OR_EQUAL
less than or equal to


EQUAL

public static final CompareFilter.CompareOp EQUAL
equals


NOT_EQUAL

public static final CompareFilter.CompareOp NOT_EQUAL
not equal


GREATER_OR_EQUAL

public static final CompareFilter.CompareOp GREATER_OR_EQUAL
greater than or equal to


GREATER

public static final CompareFilter.CompareOp GREATER
greater than


NO_OP

public static final CompareFilter.CompareOp NO_OP
no operation

Method Detail

values

public static CompareFilter.CompareOp[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CompareFilter.CompareOp c : CompareFilter.CompareOp.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CompareFilter.CompareOp valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.