Enum FilterOperation
- All Implemented Interfaces:
Serializable
,Comparable<FilterOperation>
,java.lang.constant.Constable
Available filter operations
Symbol | Operation | Example filter query param |
---|---|---|
eq | equals | city=eq:Munich |
eq_notset | equals or not set | city=eq_notset:Munich |
neq | not equals | country=neq:de |
gt | greater than | amount=gt:10000 |
gt_notset | greater than or not set | presentationEnd=gt_notset:2020-10-06 |
gte | greater than or equals | amount=gte:10000 |
gte_notset | greater than or equals or not set | amount=gte_notset:10000 |
lt | less than | amount=lt:10000 |
lt_notset | less than or not set | amount=lt_notset:10000 |
lt_set | less than and set | amount=lt_set:10000 |
lte | less than or equals to | amount=lte:10000 |
lte_set | less than or equals and set | presentationStart=lte_set:2020-10-06 |
lte_notset | less than or equals or not set | presentationStart=lte_notset:2020-10-06 |
in | in | country=in:uk,usa,au |
nin | not in | country=nin:fr,de,nz |
btn | between (inclusive) | joiningDate=btn:2018-01-01,2016-01-01 |
like | like | firstName=like:John |
stw | starts with | firstName=stw:A |
set | value exists (not null) | firstName=set: |
notset | value is not set (null) | firstName=notset: |
References:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic FilterOperation
toString()
static FilterOperation
Returns the enum constant of this type with the specified name.static FilterOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EQUALS
-
EQUALS_OR_NOT_SET
-
NOT_EQUALS
-
GREATER_THAN
-
GREATER_THAN_OR_NOT_SET
-
GREATER_THAN_OR_EQUAL_TO
-
GREATER_THAN_OR_EQUAL_TO_OR_NOT_SET
-
LESS_THAN
-
LESS_THAN_AND_SET
-
LESS_THAN_OR_NOT_SET
-
LESS_THAN_OR_EQUAL_TO
-
LESS_THAN_OR_EQUAL_TO_AND_SET
-
LESS_THAN_OR_EQUAL_TO_OR_NOT_SET
-
IN
-
NOT_IN
-
BETWEEN
-
CONTAINS
-
NOT_SET
-
SET
-
STARTS_WITH
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromValue
-
getOperandCount
-
toString
- Overrides:
toString
in classEnum<FilterOperation>
-