Enum Class SimpleQueryFlag
- All Implemented Interfaces:
Serializable, Comparable<SimpleQueryFlag>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnablesANDoperator (+)EnablesESCAPEoperator (\)EnablesFUZZYoperators: (~) on single termsEnablesNEARoperators: (~) on phrasesEnablesNOToperator (-)EnablesORoperator (|)EnablesPHRASEoperator (")EnablesPRECEDENCEoperators:(and)EnablesPREFIXoperator (*)EnablesWHITESPACEoperators: ' ' '\n' '\r' '\t' -
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleQueryFlagReturns the enum constant of this class with the specified name.static SimpleQueryFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AND
EnablesANDoperator (+) -
NOT
EnablesNOToperator (-) -
OR
EnablesORoperator (|) -
PREFIX
EnablesPREFIXoperator (*) -
PHRASE
EnablesPHRASEoperator (") -
PRECEDENCE
EnablesPRECEDENCEoperators:(and) -
ESCAPE
EnablesESCAPEoperator (\) -
WHITESPACE
EnablesWHITESPACEoperators: ' ' '\n' '\r' '\t' -
FUZZY
EnablesFUZZYoperators: (~) on single terms -
NEAR
EnablesNEARoperators: (~) on phrases
-
-
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
-