Download OpenAPI specification:
This API enables you to run Enterprises Analytics Service requests and set request-level parameters.
Enables you to execute a SQL++ for Enteprise Analytics statement. This method allows you to run queries and modifying statements, and specify query parameters.
An object specifying one or more query parameters.
statement required | string Specifies at least one valid SQL++ for Enterprise Analytics statement to run. |
client_context_id | string An identifier passed by the client that is returned verbatim in the query response. Useful for matching a particular query to a specific caller. |
format | string Default: "JSON" Value: "JSON" Desired format for the query results. Note that the only possible format is |
pretty | boolean Default: false If |
query_context | string Default: "default:Default" A scope for the statement. The value of this parameter must start with |
readonly | boolean Default: false If |
scan_consistency | string Default: "not_bounded" Enum: "not_bounded" "request_plus" The consistency guarantee constraint for index scanning. If |
scan_wait | string Default: "" The maximum time to wait for datasets to be updated before the query is executed. The format includes an amount and a unit: |
timeout | string Default: "" Maximum time to spend on the request before timing out. The format includes an amount and a unit: |
args | Array of any An array of positional parameter values. |
plan-format | string Default: "JSON" Enum: "JSON" "STRING" The plan format. |
logical-plan | boolean Default: false If |
optimized-logical-plan | boolean Default: true If |
expression-tree | boolean Default: false If |
rewritten-expression-tree | boolean Default: false If |
job | boolean Default: false If |
max-warnings | integer <int32> Default: 0 An integer specifying the maximum number of warning messages to be included in the query response. |
property name* additional property | any A named parameter value. |
{- "statement": "string",
- "client_context_id": "string",
- "format": "JSON",
- "pretty": false,
- "query_context": "default:Default",
- "readonly": false,
- "scan_consistency": "not_bounded",
- "scan_wait": "",
- "timeout": "",
- "args": [
- null
], - "property1": null,
- "property2": null,
- "plan-format": "JSON",
- "logical-plan": false,
- "optimized-logical-plan": true,
- "expression-tree": false,
- "rewritten-expression-tree": false,
- "job": false,
- "max-warnings": 0
}
{- "requestID": "string",
- "clientContextID": "string",
- "signature": { },
- "results": [
- null
], - "status": "success",
- "errors": [
- {
- "code": 0,
- "msg": "string"
}
], - "warnings": [
- {
- "code": 0,
- "msg": "string"
}
], - "metrics": {
- "elapsedTime": "string",
- "executionTime": "string",
- "resultCount": 0,
- "resultSize": 0,
- "errorCount": 0,
- "warningCount": 0,
- "processedObjects": 0
}, - "plans": {
- "logicalPlan": { },
- "optimizedLogicalPlan": { },
- "rewrittenExpressionTree": "string",
- "expressionTree": "string",
- "job": { }
}
}
Enables you to execute a SQL++ for Enterprise Analytics statement. This method only allows you to run queries and specify query parameters. It does not allow you to run modifying statements.
This is intended for situations where use of the POST
method is restricted.
required | object (Query Parameters) Specify the parameters in the query URL in URL-encoded format. |
{- "requestID": "string",
- "clientContextID": "string",
- "signature": { },
- "results": [
- null
], - "status": "success",
- "errors": [
- {
- "code": 0,
- "msg": "string"
}
], - "warnings": [
- {
- "code": 0,
- "msg": "string"
}
], - "metrics": {
- "elapsedTime": "string",
- "executionTime": "string",
- "resultCount": 0,
- "resultSize": 0,
- "errorCount": 0,
- "warningCount": 0,
- "processedObjects": 0
}, - "plans": {
- "logicalPlan": { },
- "optimizedLogicalPlan": { },
- "rewrittenExpressionTree": "string",
- "expressionTree": "string",
- "job": { }
}
}