Enum Class UpdateConstraint.Operator
- All Implemented Interfaces:
Serializable
,Comparable<UpdateConstraint.Operator>
,Constable
- Enclosing interface:
- UpdateConstraint
- Since:
- 6.10
-
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
Modifier and TypeMethodDescriptionstatic UpdateConstraint.Operator
Returns the enum constant of this class with the specified name.static UpdateConstraint.Operator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IS
Strict binary equality.This operator requires that the binary topic value is exactly equivalent to the value supplied for comparison.
-
EQ
Lenient equals.This operator requires that the topic value is logically equal to the supplied value.
If the supplied value is a string the string representation of the specified topic value is compared for string equality.
If the supplied value is a number (
Long
orDouble
) the corresponding topic value may be a number or a string containing a parseable number and will be compared for numeric equality.If the supplied value is null the condition will be satisfied if the value at a specified pointer is JSON null.
-
NE
Lenient not equals.This operator requires that the topic value is logically not equal to the supplied value.
If the supplied value is a string the string representation of the specified topic value is compared for string equality.
If the supplied value is a number (
Long
orDouble
) the corresponding topic value may be a number or a string containing a parseable number and will be compared for numeric equality.If the supplied value is null the condition will be satisfied if the value at a specified pointer not JSON null.
-
GT
Lenient greater than.This operator requires that the topic value is greater than the supplied value.
The supplied value must be a number (
Long
orDouble
). The corresponding topic value may be a number or a string containing a parseable number and the condition will be satisfied if the topic value is greater than the supplied value. -
GE
Lenient greater than or equals.This operator requires that the topic value is greater than or equal to the supplied value.
The supplied value must be a number (
Long
orDouble
). The corresponding topic value may be a number or a string containing a parseable number and the condition will be satisfied if the topic value is greater than or equal to the supplied value. -
LT
Lenient less than.This operator requires that the topic value is less than the supplied value.
The supplied value must be a number (
Long
orDouble
). The corresponding topic value may be a number or a string containing a parseable number and the condition will be satisfied if the topic value is less than the supplied value. -
LE
Lenient less than or equals.This operator requires that the topic value is less than or equal to the supplied value.
The supplied value must be a number (
Long
orDouble
). The corresponding topic value may be a number or a string containing a parseable number and the condition will be satisfied if the topic value is less than or equal to the supplied value.
-
-
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
-