Package com.appiancorp.common.query
Enum Class FilterOperator
- All Implemented Interfaces:
Serializable
,Comparable<FilterOperator>
,Constable
Enumeration of existing filter expression operators.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FilterOperator
static FilterOperator
getById
(byte b) static FilterOperator
Get FilterOperator by namebyte
getId()
static com.google.common.collect.ImmutableList<String>
Get the list of validFilterOperator
symbols.boolean
static FilterOperator
Returns the enum constant of this class with the specified name.static FilterOperator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUALS
-
NOT_EQUALS
-
GREATER_THAN
-
GREATER_EQUALS_THAN
-
LESS_THAN
-
LESS_EQUALS_THAN
-
BETWEEN
-
IN
-
NOT_IN
-
IS_NULL
-
NOT_NULL
-
STARTS_WITH
-
NOT_STARTS_WITH
-
ENDS_WITH
-
NOT_ENDS_WITH
-
INCLUDES
-
NOT_INCLUDES
-
-
Field Details
-
LOCAL_PART
- See Also:
-
QNAME
-
-
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
-
getSymbol
-
getId
public byte getId() -
getCategory
-
requiresArg
public boolean requiresArg() -
get
-
getById
-
getByName
Get FilterOperator by name- Parameters:
name
- Operator Name- Returns:
- The FilterOperator for the given name
-
getSymbols
Get the list of validFilterOperator
symbols.- Returns:
- an
ImmutableList
ofString
s representing all validFilterOperator
s.
-