Package com.veeva.vault.sdk.api.query
Enum Class QueryEscapeOverride
- All Implemented Interfaces:
Serializable
,Comparable<QueryEscapeOverride>
,Constable
Valid overrides for the default escape strategy in a VQL query.
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates no overrides are applied to the default escape strategy.Indicates no escaping is applied.Indicates backslashes are not escaped.Indicates double quotes are not escaped.Indicates open and close parentheses are not escaped.Indicates single quotes are not escaped.Indicates wildcard characters are not escaped. -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryEscapeOverride
Returns the enum constant of this class with the specified name.static QueryEscapeOverride[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ESCAPE_ALL
Indicates no overrides are applied to the default escape strategy. All VQL special characters are escaped. -
IGNORE_ALL
Indicates no escaping is applied. Note that improperly unescaped backslashes and single quotes will cause an error. -
IGNORE_BACKSLASH
Indicates backslashes are not escaped. Note that improperly unescaped backslashes will cause an error. Backslashes can be used to escape other special characters or as part of escape sequences such as\n
,\r
, and\t
. -
IGNORE_WILDCARD
Indicates wildcard characters are not escaped. This includes asterisks, which represent the wildcard in theFIND
clause, and percent signs, which represent the wildcard inLIKE
filters. -
IGNORE_SINGLE_QUOTE
Indicates single quotes are not escaped. Note that improperly unescaped single quotes will cause an error. Single quotes can be used to escape other single quotes. -
IGNORE_DOUBLE_QUOTE
Indicates double quotes are not escaped. Double quotes can be used to indicate phrases in theFIND
clause. -
IGNORE_PARENTHESIS
Indicates open and close parentheses are not escaped. Parentheses can be used to logically group search terms in theFIND
clause.
-
-
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
-