Enum Class SearchOperator
- All Implemented Interfaces:
Serializable
,Comparable<SearchOperator>
,Constable
Enum representing various search operators that can be used in query
specifications. These operators can be used to define how fields should be compared or
filtered in search queries.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents a check for values that are after a specified value.Represents a check for values that are before a specified value.Represents a check for values that are between two specified values.Represents a check for null values.Represents a check for the presence of all elements in a collection.Represents a check for the presence of a key in a collection.Represents a check for the presence of a value in a collection.Represents a check for values that end with a specified prefix.Represents an equality check.Represents a check for values greater than a specified value.Represents a check for values greater than or equal to a specified value.Represents a check for values that are in a specified collection.Represents a check for empty values.Represents a check for non-empty values.Represents a check for values lower than a specified value.Represents a check for values lower than or equal to specified value.Represents a check for the presence of elements in a collection.Represents an inequality check.Represents a check for values that are not in a specified collection.Represents a check for values within a specified range.Represents a check for values that match a specified pattern.Represents a check for size equality with a specified value.Represents a check for size greater than a specified value.Represents a check for a size lower than a specified value.Represents a check for values that start with a specified prefix. -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchOperator
Returns the enum constant of this class with the specified name.static SearchOperator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUALS
Represents an equality check. -
NOT_EQUALS
Represents an inequality check. -
CONTAINS
Represents a check for null values. -
STARTS_WITH
Represents a check for values that start with a specified prefix. -
ENDS_WITH
Represents a check for values that end with a specified prefix. -
REGEX
Represents a check for values that match a specified pattern. -
GT
Represents a check for values greater than a specified value. -
GTE
Represents a check for values greater than or equal to a specified value. -
LT
Represents a check for values lower than a specified value. -
LTE
Represents a check for values lower than or equal to specified value. -
IN
Represents a check for values that are in a specified collection. -
NOT_IN
Represents a check for values that are not in a specified collection. -
RANGE
Represents a check for values within a specified range. -
BEFORE
Represents a check for values that are before a specified value. -
AFTER
Represents a check for values that are after a specified value. -
BETWEEN
Represents a check for values that are between two specified values. -
IS_EMPTY
Represents a check for empty values. -
IS_NOT_EMPTY
Represents a check for non-empty values. -
SIZE_EQUALS
Represents a check for size equality with a specified value. -
SIZE_GT
Represents a check for size greater than a specified value. -
SIZE_LT
Represents a check for a size lower than a specified value. -
NOT_EMPTY
Represents a check for the presence of elements in a collection. -
CONTAINS_ALL
Represents a check for the presence of all elements in a collection. -
CONTAINS_KEY
Represents a check for the presence of a key in a collection. -
CONTAINS_VALUE
Represents a check for the presence of a value in a collection.
-
-
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
-