Pre-General Availability: 2022-08-18. This documentation is in pre-General Availability status and is intended for demonstration and preliminary use only. It may not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be responsible for any loss, costs, or damages incurred due to the use of this documentation.
Get query execution result
get
/20210831/projects/{projectId}/queryExecutions/{queryExecutionId}/result
Request
Supported Media Types
- application/json
Path Parameters
-
projectId: string
Minimum Length:
1
Maximum Length:255
The OCID of Query Service project -
queryExecutionId: string
Minimum Length:
1
Maximum Length:255
The ID of the asynchronous request.
Query Parameters
-
limit: integer
Minimum Value:
1
Maximum Value:1000
The maximum number of items to return.Default Value:100
-
page: string
Minimum Length:
1
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
Header Parameters
-
opc-request-id: string
The client request ID for tracing.
-
opc-retry-token(optional): string
Minimum Length:
1
Maximum Length:64
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
Response
Supported Media Types
- application/json
200 Response
successful operation
Headers
-
opc-next-page: string
For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : QueryExecutionResult
Type:
object
asynchronous query execution result
Show Source
-
fieldsCollection(optional):
object FieldsCollection
A list of fields that make up the schema.
-
rows:
array rows
array of results
Nested Schema : FieldsCollection
Type:
object
A list of fields that make up the schema.
Show Source
-
items:
array items
A list of fields that make up the schema.
Nested Schema : items
Type:
array
A list of fields that make up the schema.
Show Source
-
Array of:
object FieldSchema
A field schema decribes a particular field in the object schema. It contains at least a name and a data type, but potentially can be extended with some additional or more complex properties.
Nested Schema : FieldSchema
Type:
object
A field schema decribes a particular field in the object schema.
It contains at least a name and a data type, but potentially can be
extended with some additional or more complex properties.
Show Source
-
additionalFlags(optional):
object AdditionalFlags
Additional flags which further clarifies the primary and logical types, or provide data type constraints.
-
dataType:
string
Allowed Values:
[ "BOOLEAN", "INT", "LONG", "FLOAT", "DOUBLE", "BYTES", "STRING", "ENUM", "ARRAY", "MAP", "FIXED" ]
Data type of the field. Possible values include STRING, INTEGER, ... -
fieldName:
string
Minimum Length:
1
Maximum Length:255
Name of the field -
logicalType(optional):
string
Allowed Values:
[ "DECIMAL", "UUID", "DATE", "TIME_MILLIS", "TIME_MICROS", "TIMESTAMP_MILLIS", "TIMESTAMP_MICROS", "LOCAL_TIMESTAMP_MILLIS", "LOCAL_TIMESTAMP_MICROS", "DURATION" ]
Logical data type of the field which extends or clarifies the primary data type. -
oracleType(optional):
string
Minimum Length:
1
Maximum Length:255
Oracle DB data type of the field which extends or clarifies the primary data type.
Nested Schema : AdditionalFlags
Type:
object
Additional flags which further clarifies the primary and logical types,
or provide data type constraints.
Show Source
-
arrayType(optional):
string
A type of array values, can be used only with the array logical type.
-
decimalPrecision(optional):
integer(int32)
An integer representing the (maximum) precision of decimals stored in this type, can be used only with the decimal logical type
-
decimalScale(optional):
integer(int32)
An integer representing the scale, can be used only with the decimal logical type.
-
defaultValue(optional):
string
Minimum Length:
1
Maximum Length:255
A default value of the given type. -
enumConstants(optional):
array enumConstants
A list of string constants for a particular enum, can be used only with the enum logical type.
-
fixedSize(optional):
integer(int32)
Length of the fixed-sized string, can be used only with the fixed logical type.
-
isNullable(optional):
boolean
Default Value:
true
Marks a type as nullable. The default value is true and as such it's necessary explicitly state only if the type is not nullable. -
mapValueType(optional):
string
Allowed Values:
[ "BOOLEAN", "INT", "LONG", "FLOAT", "DOUBLE", "BYTES", "STRING" ]
A type of map values, can be used only with the map logical type. -
stringSize(optional):
integer(int32)
An integer representing the (maximum) size of string stored in this type, can be used only with the string data type
Nested Schema : enumConstants
Type:
array
A list of string constants for a particular enum, can be used only with the enum logical type.
Show Source
Nested Schema : items
Type:
object
400 Response
Bad Request
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : DefaultError
Type:
object
Error Information.
Show Source
-
code:
string
Minimum Length:
1
Maximum Length:255
A short error code that defines the error, meant for programmatic parsing. -
message:
string
Minimum Length:
1
Maximum Length:1024
A human-readable error string.
401 Response
Unauthorized
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : DefaultError
Type:
object
Error Information.
Show Source
-
code:
string
Minimum Length:
1
Maximum Length:255
A short error code that defines the error, meant for programmatic parsing. -
message:
string
Minimum Length:
1
Maximum Length:1024
A human-readable error string.
404 Response
Not Found
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : DefaultError
Type:
object
Error Information.
Show Source
-
code:
string
Minimum Length:
1
Maximum Length:255
A short error code that defines the error, meant for programmatic parsing. -
message:
string
Minimum Length:
1
Maximum Length:1024
A human-readable error string.
500 Response
Internal Server Error
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : DefaultError
Type:
object
Error Information.
Show Source
-
code:
string
Minimum Length:
1
Maximum Length:255
A short error code that defines the error, meant for programmatic parsing. -
message:
string
Minimum Length:
1
Maximum Length:1024
A human-readable error string.