Package com.blackrook.sql
Enum Class SQLAbstractDAO.Operator
- All Implemented Interfaces:
Serializable
,Comparable<SQLAbstractDAO.Operator>
,java.lang.constant.Constable
- Enclosing class:
- SQLAbstractDAO
A criterion operator.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEqualsGreater ThanGreater Than or EqualLess ThanLess Than or EqualLike clauseNot EqualsNot like clause -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static SQLAbstractDAO.Operator
Returns the enum constant of this class with the specified name.static SQLAbstractDAO.Operator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUAL
Equals -
NOT_EQUAL
Not Equals -
LESS
Less Than -
LESS_EQUAL
Less Than or Equal -
GREATER
Greater Than -
GREATER_EQUAL
Greater Than or Equal -
LIKE
Like clause -
NOT_LIKE
Not like clause
-
-
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
-
toString
- Overrides:
toString
in classEnum<SQLAbstractDAO.Operator>
-