Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class ExecuteSqlMetadata.
Any additional metadata information regarding the execution of the SQL
Generated from protobuf message google.cloud.oracledatabase.v1.ExecuteSqlMetadata
Namespace
Google \ Cloud \ OracleDatabase \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ message |
string
Message related to SQL execution. This field can be used to convey size limit related message. |
↳ partial_result |
bool
Set to true if SQL returned a result set larger than the acceptable response size limits and the result was truncated. |
↳ execution_duration |
Google\Protobuf\Duration
The time duration taken to execute the sql statement. |
↳ status |
int
Output only. Status of SQL execution. |
getMessage
Message related to SQL execution. This field can be used to convey size limit related message.
| Returns | |
|---|---|
| Type | Description |
string |
|
setMessage
Message related to SQL execution. This field can be used to convey size limit related message.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPartialResult
Set to true if SQL returned a result set larger than the acceptable response size limits and the result was truncated.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setPartialResult
Set to true if SQL returned a result set larger than the acceptable response size limits and the result was truncated.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExecutionDuration
The time duration taken to execute the sql statement.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasExecutionDuration
clearExecutionDuration
setExecutionDuration
The time duration taken to execute the sql statement.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStatus
Output only. Status of SQL execution.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Status. |
setStatus
Output only. Status of SQL execution.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Status. |
| Returns | |
|---|---|
| Type | Description |
$this |
|