public static enum CompoundSearchQuery.Operator extends Enum<CompoundSearchQuery.Operator>
| Enum Constant and Description |
|---|
AND
All terms need to hold for the compound query to hold.
|
OR
At least one term has to hold for the compound query to hold.
|
| Modifier and Type | Method and Description |
|---|---|
static CompoundSearchQuery.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompoundSearchQuery.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompoundSearchQuery.Operator AND
public static final CompoundSearchQuery.Operator OR
public static CompoundSearchQuery.Operator[] values()
for (CompoundSearchQuery.Operator c : CompoundSearchQuery.Operator.values()) System.out.println(c);
public static CompoundSearchQuery.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 null