Package io.helidon.data.codegen.query
Enum Class CriteriaOperator
- All Implemented Interfaces:
Serializable,Comparable<CriteriaOperator>,Constable
Criteria condition operator.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAfteroperator.Beforeoperator.Betweenoperator.Containsoperator.Emptyoperator.EndsWithoperator.Equaloperator.Falseoperator.GreaterThanoperator.GreaterThanEqualoperator.Inoperator.LessThanoperator.LessThanEqualoperator.Likeoperator.Nulloperator.StartsWithoperator.Trueoperator. -
Method Summary
Modifier and TypeMethodDescriptionintNumber of required criteria parameters.static CriteriaOperatorReturns the enum constant of this class with the specified name.static CriteriaOperator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Equal
Equaloperator. -
After
Afteroperator. -
Before
Beforeoperator. -
Contains
Containsoperator. -
EndsWith
EndsWithoperator. -
StartsWith
StartsWithoperator. -
LessThan
LessThanoperator. -
LessThanEqual
LessThanEqualoperator. -
GreaterThan
GreaterThanoperator. -
GreaterThanEqual
GreaterThanEqualoperator. -
Between
Betweenoperator. -
Like
Likeoperator. -
In
Inoperator. -
Empty
Emptyoperator. -
Null
Nulloperator. -
True
Trueoperator. -
False
Falseoperator.
-
-
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
-
paramsCount
public int paramsCount()Number of required criteria parameters.- Returns:
- the number of required parameters
-