Package org.jparsec.examples.sql.ast
Enum Op
- java.lang.Object
-
- java.lang.Enum<Op>
-
- org.jparsec.examples.sql.ast.Op
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Op()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Op
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Op[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLUS
public static final Op PLUS
-
MINUS
public static final Op MINUS
-
MUL
public static final Op MUL
-
DIV
public static final Op DIV
-
MOD
public static final Op MOD
-
NEG
public static final Op NEG
-
IN
public static final Op IN
-
NOT_IN
public static final Op NOT_IN
-
EQ
public static final Op EQ
-
GT
public static final Op GT
-
LT
public static final Op LT
-
GE
public static final Op GE
-
LE
public static final Op LE
-
NE
public static final Op NE
-
NOT
public static final Op NOT
-
AND
public static final Op AND
-
OR
public static final Op OR
-
IS
public static final Op IS
-
EXISTS
public static final Op EXISTS
-
NOT_EXISTS
public static final Op NOT_EXISTS
-
-
Method Detail
-
values
public static Op[] 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 (Op c : Op.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Op valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-