|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Predicate.Op>
simpledb.Predicate.Op
public static enum Predicate.Op
Constants used for return codes in Field.compare
Enum Constant Summary | |
---|---|
EQUALS
|
|
GREATER_THAN
|
|
GREATER_THAN_OR_EQ
|
|
LESS_THAN
|
|
LESS_THAN_OR_EQ
|
|
LIKE
|
Method Summary | |
---|---|
static Predicate.Op |
getOp(int i)
Interface to access operations by integer value for command-line convenience. |
static Predicate.Op |
getOp(java.lang.String s)
Interface to access operations by a string containing an integer index for command-line convenience. |
static Predicate.Op |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Predicate.Op[] |
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 |
---|
public static final Predicate.Op EQUALS
public static final Predicate.Op GREATER_THAN
public static final Predicate.Op LESS_THAN
public static final Predicate.Op LESS_THAN_OR_EQ
public static final Predicate.Op GREATER_THAN_OR_EQ
public static final Predicate.Op LIKE
Method Detail |
---|
public static Predicate.Op[] values()
for (Predicate.Op c : Predicate.Op.values()) System.out.println(c);
public static Predicate.Op valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static Predicate.Op getOp(java.lang.String s)
s
- a string containing a valid integer Op indexpublic static Predicate.Op getOp(int i)
i
- a valid integer Op index
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |