public enum Operation extends Enum<Operation>
Enum Constant and Description |
---|
CONTAINS
Represents an operation on field containing a single value
|
EQUALS
Represents an operation on field matching a single value
|
PHRASE
Represents an operation on a field matching a phrase
|
RANGE
Represents an operation on field matching value between the upper and lower boundary values where both are exclusive
|
RANGE_INCLUSIVE
Represents an operation on field matching value between the upper and lower boundary values where both are inclusive
|
SIMILAR
Represents a fuzzy matching operation on field
|
STARTS_WITH
Represents an operation on a field matching the beginning with a specific value
|
WILDCARD
Represents an operation on a field matching search expression containing wildcards
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final Operation EQUALS
public static final Operation CONTAINS
public static final Operation RANGE
public static final Operation RANGE_INCLUSIVE
public static final Operation STARTS_WITH
public static final Operation PHRASE
public static final Operation WILDCARD
public static final Operation SIMILAR
public static Operation[] values()
for (Operation c : Operation.values()) System.out.println(c);
public static Operation 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 null