public enum Operator extends Enum<Operator>
| Enum Constant and Description |
|---|
AND
Logical AND operator in case of multiple values are provided for same search parameter.
|
CASE_IGNORE
Unary operator to indicate a particular other value operator must execute its logic by ignoring case.
|
CONTAINS
The operator for contains clause.
|
ENDS_WITH
The operator for ends-with clause.
|
ENDSWITH
For Kebab case support "ends-with", behavior is same as
ENDS_WITH |
EQUAL
Provides a operator value delimiter prefix for when explicit delimiter is provided.
|
GREATER_THAN
Greater than operator primarily to be used for numeric values.
|
GREATER_THAN_OR_EQUAL
Greater than or equal operator primarily to be used for numeric values.
|
LESS_THAN
Less than operator primarily to be used for numeric values
|
LESS_THAN_OR_EQUAL
Less than or equal operator primarily to be used for numeric values
|
MATCHES
The operator for regular expression clause.
|
NOT
Logical NOT operator which can be used to negate the result of any search parameter/logic.
|
NOT_EQUAL
Provides a operator value delimiter suffix for when explicit delimiter is provided.
|
OR
Logical OR operator in case of multiple values are provided for same search parameter.
|
STARTS_WITH
The operator for starts-with clause.
|
STARTSWITH
For Kebab case support "starts-with", behavior is same as
STARTS_WITH |
| Modifier and Type | Method and Description |
|---|---|
static Operator |
fromValue(String text) |
String |
toString() |
static Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operator EQUAL
public static final Operator NOT_EQUAL
public static final Operator CONTAINS
public static final Operator STARTS_WITH
public static final Operator STARTSWITH
STARTS_WITHpublic static final Operator ENDS_WITH
public static final Operator ENDSWITH
ENDS_WITHpublic static final Operator MATCHES
public static final Operator AND
public static final Operator OR
public static final Operator NOT
public static final Operator GREATER_THAN
public static final Operator GREATER_THAN_OR_EQUAL
public static final Operator LESS_THAN
public static final Operator LESS_THAN_OR_EQUAL
public static final Operator CASE_IGNORE
public static Operator[] values()
for (Operator c : Operator.values()) System.out.println(c);
public static Operator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018–2019. All rights reserved.