public enum SimpleQueryFlag extends Enum<SimpleQueryFlag>
| Enum Constant and Description |
|---|
AND
Enables
AND operator (+) |
ESCAPE
Enables
ESCAPE operator (\) |
FUZZY
Enables
FUZZY operators: (~) on single terms |
NEAR
Enables
NEAR operators: (~) on phrases |
NOT
Enables
NOT operator (-) |
OR
Enables
OR operator (|) |
PHRASE
Enables
PHRASE operator (") |
PRECEDENCE
Enables
PRECEDENCE operators: ( and ) |
PREFIX
Enables
PREFIX operator (*) |
WHITESPACE
Enables
WHITESPACE operators: ' ' '\n' '\r' '\t' |
| Modifier and Type | Method and Description |
|---|---|
static SimpleQueryFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleQueryFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleQueryFlag AND
AND operator (+)public static final SimpleQueryFlag NOT
NOT operator (-)public static final SimpleQueryFlag OR
OR operator (|)public static final SimpleQueryFlag PREFIX
PREFIX operator (*)public static final SimpleQueryFlag PHRASE
PHRASE operator (")public static final SimpleQueryFlag PRECEDENCE
PRECEDENCE operators: ( and )public static final SimpleQueryFlag ESCAPE
ESCAPE operator (\)public static final SimpleQueryFlag WHITESPACE
WHITESPACE operators: ' ' '\n' '\r' '\t'public static final SimpleQueryFlag FUZZY
FUZZY operators: (~) on single termspublic static final SimpleQueryFlag NEAR
NEAR operators: (~) on phrasespublic static SimpleQueryFlag[] values()
for (SimpleQueryFlag c : SimpleQueryFlag.values()) System.out.println(c);
public static SimpleQueryFlag 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 © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.