Class DataExecutionStatus

  • DataExecutionStatus provides methods to access the state and details of a data execution, including error information and timing.

  • You can retrieve the execution state, error code, and error message using dedicated methods.

  • Timestamps for the last execution and successful refresh are accessible for tracking data updates.

  • A method is available to determine if the data from the last successful execution was truncated.

DataExecutionStatus

The data execution status.

Methods

MethodReturn typeBrief description
getErrorCode()DataExecutionErrorCodeGets the error code of the data execution.
getErrorMessage()StringGets the error message of the data execution.
getExecutionState()DataExecutionStateGets the state of the data execution.
getLastExecutionTime()DateGets the time the last data execution completed regardless of the execution state.
getLastRefreshedTime()DateGets the time the data last successfully refreshed.
isTruncated()BooleanReturns true if the data from last successful execution is truncated, or false otherwise.

Detailed documentation

getErrorCode()

Gets the error code of the data execution.

Return

DataExecutionErrorCode — The error code.


getErrorMessage()

Gets the error message of the data execution. The message may be empty.

Return

String — The error message.


getExecutionState()

Gets the state of the data execution.

Return

DataExecutionState — The execution state.


getLastExecutionTime()

Gets the time the last data execution completed regardless of the execution state.

Return

Date — The last execution time, or null if there has never been a data execution.


getLastRefreshedTime()

Gets the time the data last successfully refreshed.

Return

Date — The last successfully refreshed time, or null if there is never a successful data execution.


isTruncated()

Returns true if the data from last successful execution is truncated, or false otherwise.

Return

BooleanTrue if the data from execution is truncated, or false otherwise.