public enum EscapeQueryOptions extends Enum<EscapeQueryOptions>
Enum Constant and Description |
---|
ALLOW_ALL_WILDCARDS
This allows queries such as Name:*term*, which tend to be much
more expensive and less performant than any other queries.
|
ALLOW_POSTFIX_WILDCARD |
ESCAPE_ALL |
RAW_QUERY |
Modifier and Type | Method and Description |
---|---|
static EscapeQueryOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EscapeQueryOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EscapeQueryOptions ESCAPE_ALL
public static final EscapeQueryOptions ALLOW_POSTFIX_WILDCARD
public static final EscapeQueryOptions ALLOW_ALL_WILDCARDS
public static final EscapeQueryOptions RAW_QUERY
public static EscapeQueryOptions[] values()
for (EscapeQueryOptions c : EscapeQueryOptions.values()) System.out.println(c);
public static EscapeQueryOptions 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 © 2016. All Rights Reserved.