- All Implemented Interfaces:
Serializable,Comparable<Operator>,Constable
Enum of various operators that can be used in database query conditions.
The operators define the comparison or logical operations used in constructing query conditions.
They are primarily used in conjunction with the Condition class to define query filters.
List of supported operators:
EQ: Equality comparison.NEQ: Inequality comparison.GT: "Greater than" comparison.GTE: "Greater than or equal to" comparison.LT: "Less than" comparison.LTE: "Less than or equal to" comparison.IN: Inclusion in a set.IS_NULL: Checks if a value isnull.IS_NOT_NULL: Checks if a value is notnull.USING: Used to specify columns for joining tables.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
EQ
Equals -
NEQ
Not equals -
GT
Greater than -
GTE
Greater than or equal to -
LT
Less than -
LTE
Less than or equal to -
IN
Inclusion in a set -
IS_NULL
Checks if a value isnull -
IS_NOT_NULL
Checks if a value is notnull -
USING
Used to specify columns for joining tables.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-