Package com.veeva.vault.sdk.api.query
Interface QueryValidationResponse
public interface QueryValidationResponse
Represents the result of a query validation execution.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves theQueryDescribeResult.Retrieves the validated query string.booleanChecks whether the response contains aQueryDescribeResult.
-
Method Details
-
getQueryString
String getQueryString()Retrieves the validated query string. If tokens are used, then the tokens in the query string are resolved.- Returns:
- the validated query string
-
hasQueryDescribeResult
boolean hasQueryDescribeResult()Checks whether the response contains aQueryDescribeResult.- Returns:
- true if the response contains a query describe result, false otherwise
-
getQueryDescribeResult
QueryDescribeResult getQueryDescribeResult()Retrieves theQueryDescribeResult. If the response does not contain aQueryDescribeResult, an exception will be thrown.- Returns:
- the QueryDescribeResult
-