public static interface QueryExecutionRequest.Builder
QueryExecutionRequest. Calling at least one method to set
the query is required.| Modifier and Type | Method and Description |
|---|---|
QueryExecutionRequest |
build()
Retrieves the completed
QueryExecutionRequest. |
QueryExecutionRequest.Builder |
withQuery(Query query)
Sets the VQL
Query, replacing any previously set Query or query string. |
QueryExecutionRequest.Builder |
withQueryString(String queryString)
Sets the VQL query string, replacing any previously set query string or
Query. |
QueryExecutionRequest.Builder |
withTokenRequest(TokenRequest tokenRequest,
QueryEscapeOverride... escapeOverrides)
Sets the
TokenRequest and QueryEscapeOverride(s), replacing any previously set
TokenRequest and QueryEscapeOverride(s). |
QueryExecutionRequest.Builder withQuery(Query query)
Query, replacing any previously set Query or query string.query - VQL query to be executedQueryExecutionRequest.Builder withQueryString(String queryString)
Query.queryString - VQL query string to be executedQueryExecutionRequest.Builder withTokenRequest(TokenRequest tokenRequest, QueryEscapeOverride... escapeOverrides)
TokenRequest and QueryEscapeOverride(s), replacing any previously set
TokenRequest and QueryEscapeOverride(s).
Filters on a String field support tokens containing all the types listed in TokenRequest
except for List. A filter using CONTAINS only supports a token containing a
List. All other fields support tokens containing either their type or a String.
Vault escapes all special VQL characters in String tokens if escape overrides are not provided.
tokenRequest - a token request containing all custom tokens used in the queryescapeOverrides - overrides(s) indicating which characters not to escapeQueryExecutionRequest build()
QueryExecutionRequest.
The query must be non-null.
Copyright © Veeva Systems 2017–2022. All rights reserved.