public enum QueryEscapeOverride extends Enum<QueryEscapeOverride>
ESCAPE_ALL
is the default option, indicating no overrides are applied to the default strategy.
Each other option indicates one or more characters should not be escaped.
Enum Constant and Description |
---|
ESCAPE_ALL
Indicates no overrides are applied to the default escape strategy.
|
IGNORE_ALL
Indicates no escaping is applied.
|
IGNORE_BACKSLASH
Indicates backslashes are not escaped.
|
IGNORE_DOUBLE_QUOTE
Indicates double quotes are not escaped.
|
IGNORE_PARENTHESIS
Indicates open and close parentheses are not escaped.
|
IGNORE_SINGLE_QUOTE
Indicates single quotes are not escaped.
|
IGNORE_WILDCARD
Indicates wildcard characters are not escaped.
|
Modifier and Type | Method and Description |
---|---|
static QueryEscapeOverride |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryEscapeOverride[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryEscapeOverride ESCAPE_ALL
public static final QueryEscapeOverride IGNORE_ALL
public static final QueryEscapeOverride IGNORE_BACKSLASH
\n
, \r
, and \t
.public static final QueryEscapeOverride IGNORE_WILDCARD
FIND
clause, and percent signs, which represent the wildcard in LIKE
filters.public static final QueryEscapeOverride IGNORE_SINGLE_QUOTE
public static final QueryEscapeOverride IGNORE_DOUBLE_QUOTE
FIND
clause.public static final QueryEscapeOverride IGNORE_PARENTHESIS
FIND
clause.public static QueryEscapeOverride[] values()
for (QueryEscapeOverride c : QueryEscapeOverride.values()) System.out.println(c);
public static QueryEscapeOverride 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 © Veeva Systems 2017–2023. All rights reserved.