Enum Class CriteriaDefinition.Operators
java.lang.Object
java.lang.Enum<CriteriaDefinition.Operators>
org.springframework.data.cassandra.core.query.CriteriaDefinition.Operators
- All Implemented Interfaces:
Serializable
,Comparable<CriteriaDefinition.Operators>
,Constable
,CriteriaDefinition.Operator
- Enclosing interface:
- CriteriaDefinition
public static enum CriteriaDefinition.Operators
extends Enum<CriteriaDefinition.Operators>
implements CriteriaDefinition.Operator
Commonly used CQL operators.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<CriteriaDefinition.Operators>
toString()
static CriteriaDefinition.Operators
Returns the enum constant of this class with the specified name.static CriteriaDefinition.Operators[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
Methods inherited from interface org.springframework.data.cassandra.core.query.CriteriaDefinition.Operator
toCql
-
Enum Constant Details
-
CONTAINS
-
CONTAINS_KEY
-
EQ
-
NE
- Since:
- 2.1
-
IS_NOT_NULL
- Since:
- 2.1
-
GT
-
GTE
-
LT
-
LTE
-
IN
-
LIKE
-
-
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
-
from
-
toString
- Specified by:
toString
in interfaceCriteriaDefinition.Operator
- Overrides:
toString
in classEnum<CriteriaDefinition.Operators>
- Returns:
- the String representation of the operator.
-