Class DataExecutionStatus Stay organized with collections Save and categorize content based on your preferences.
Page Summary
The
DataExecutionStatusobject provides information about the status of a data execution.It includes methods to retrieve the error code, error message, execution state, last execution time, and last refreshed time.
You can also check if the data from the last successful execution was truncated using the
isTruncated()method.
The data execution status.
Methods
| Method | Return type | Brief description |
|---|---|---|
get | Data | Gets the error code of the data execution. |
get | String | Gets the error message of the data execution. |
get | Data | Gets the state of the data execution. |
get | Date|null | Gets the time the last data execution completed regardless of the execution state. |
get | Date|null | Gets the time the data last successfully refreshed. |
is | Boolean | Returnstrue if the data from last successful execution is truncated, orfalseotherwise. |
Detailed documentation
getErrorCode()
getErrorMessage()
Gets the error message of the data execution. The message may be empty.
Return
String — The error message.
getExecutionState()
getLastExecutionTime()
Gets the time the last data execution completed regardless of the execution state.
Return
Date|null — The last execution time, ornull if there has never been a data execution.
getLastRefreshedTime()
Gets the time the data last successfully refreshed.
Return
Date|null — The last successfully refreshed time, ornull if there is never a successful data execution.
isTruncated()
Returnstrue if the data from last successful execution is truncated, orfalseotherwise.
Return
Boolean —True if the data from execution is truncated, orfalse otherwise.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-11 UTC.