Package com.landawn.abacus.condition
Enum Class Operator
- All Implemented Interfaces:
Serializable
,Comparable<Operator>
,Constable
The Enum Operator.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionField ALL.Field AND.Field AND_OP.Field ANY.Field BETWEEN.Field CROSS_JOIN.Field SPACE.Field EQUAL.Field EXCEPT.Field EXISTS.Deprecated.Field FULL_JOIN.Field GREATER_EQUAL.Field GREATER_THAN.Field GROUP_BY.Field HAVING.Field IN.Field INNER_JOIN.Field INTERSECT.Field IS.Field IS_NOT.Field JOIN.Field LEFT_JOIN.Field LESS_EQUAL.Field LESS_THAN.Field LIKE.Field LIMIT.Field MINUS.Field NATURAL_JOIN.Field NOT.Field NOT_BETWEEN.Field NOT_EQUAL.Field NOT_EQUAL2.Field NOT_IN.Field NOT_LIKE.Field NOT2.Field OFFSET.Field ON.Field OR.Field OR_OP.Field ORDER_BY.Field RIGHT_JOIN.Field SOME.Field UNION.Field UNION_ALL.Field WHERE.Field XOR. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the name.static Operator
getOperator
(String name) Gets the operator.toString()
static Operator
Returns the enum constant of this class with the specified name.static Operator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
EQUAL
Field EQUAL. -
NOT_EQUAL
Field NOT_EQUAL. -
NOT_EQUAL2
Field NOT_EQUAL2. -
NOT
Field NOT. -
NOT_OP
Field NOT2. -
XOR
Field XOR. -
LIKE
Field LIKE. -
NOT_LIKE
Field NOT_LIKE. -
AND
Field AND. -
AND_OP
Field AND_OP. -
OR
Field OR. -
OR_OP
Field OR_OP. -
GREATER_THAN
Field GREATER_THAN. -
GREATER_EQUAL
Field GREATER_EQUAL. -
LESS_THAN
Field LESS_THAN. -
LESS_EQUAL
Field LESS_EQUAL. -
BETWEEN
Field BETWEEN. -
NOT_BETWEEN
Field NOT_BETWEEN. -
IS
Field IS. -
IS_NOT
Field IS_NOT. -
EXISTS
Field EXISTS. -
IN
Field IN. -
NOT_IN
Field NOT_IN. -
ANY
Field ANY. -
SOME
Field SOME. -
ALL
Field ALL. -
ON
Field ON. -
USING
-
JOIN
Field JOIN. -
LEFT_JOIN
Field LEFT_JOIN. -
RIGHT_JOIN
Field RIGHT_JOIN. -
FULL_JOIN
Field FULL_JOIN. -
CROSS_JOIN
Field CROSS_JOIN. -
INNER_JOIN
Field INNER_JOIN. -
NATURAL_JOIN
Field NATURAL_JOIN. -
WHERE
Field WHERE. -
HAVING
Field HAVING. -
GROUP_BY
Field GROUP_BY. -
ORDER_BY
Field ORDER_BY. -
LIMIT
Field LIMIT. -
OFFSET
Field OFFSET. -
FOR_UPDATE
Deprecated. -
UNION
Field UNION. -
UNION_ALL
Field UNION_ALL. -
INTERSECT
Field INTERSECT. -
EXCEPT
Field EXCEPT. -
MINUS
Field MINUS. -
EMPTY
Field SPACE.
-
-
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
-
getOperator
Gets the operator.- Parameters:
name
-- Returns:
-
getName
Gets the name.- Returns:
-
toString
-