StatementOutput

class oci.data_flow.models.StatementOutput(**kwargs)

Bases: object

The execution output of a statement.

Attributes:

STATUS_ERROR

A constant which can be used with the status property of a StatementOutput.

STATUS_OK

A constant which can be used with the status property of a StatementOutput.

data

Gets the data of this StatementOutput.

error_name

Gets the error_name of this StatementOutput.

error_value

Gets the error_value of this StatementOutput.

status

Gets the status of this StatementOutput.

traceback

Gets the traceback of this StatementOutput.

Methods:

__init__(**kwargs)

Initializes a new StatementOutput object with values from keyword arguments.

STATUS_ERROR = 'ERROR'

A constant which can be used with the status property of a StatementOutput. This constant has a value of “ERROR”

STATUS_OK = 'OK'

A constant which can be used with the status property of a StatementOutput. This constant has a value of “OK”

__init__(**kwargs)

Initializes a new StatementOutput object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • data (oci.data_flow.models.StatementOutputData) – The value to assign to the data property of this StatementOutput.

  • status (str) – The value to assign to the status property of this StatementOutput. Allowed values for this property are: “OK”, “ERROR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • error_name (str) – The value to assign to the error_name property of this StatementOutput.

  • error_value (str) – The value to assign to the error_value property of this StatementOutput.

  • traceback (list[str]) – The value to assign to the traceback property of this StatementOutput.

property data

Gets the data of this StatementOutput.

Returns

The data of this StatementOutput.

Return type

oci.data_flow.models.StatementOutputData

property error_name

Gets the error_name of this StatementOutput. The name of the error in the statement output.

Returns

The error_name of this StatementOutput.

Return type

str

property error_value

Gets the error_value of this StatementOutput. The value of the error in the statement output.

Returns

The error_value of this StatementOutput.

Return type

str

property status

Gets the status of this StatementOutput. Status of the statement output.

Allowed values for this property are: “OK”, “ERROR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The status of this StatementOutput.

Return type

str

property traceback

Gets the traceback of this StatementOutput. The traceback of the statement output.

Returns

The traceback of this StatementOutput.

Return type

list[str]