ExecuteSqlResponseItemStandard¶
-
class
oci.database_tools_runtime.models.ExecuteSqlResponseItemStandard(**kwargs)¶ Bases:
objectA statement execution response for Standard type requests.
Attributes
STATEMENT_TYPE_DDLA constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. STATEMENT_TYPE_DMLA constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. STATEMENT_TYPE_IGNOREA constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. STATEMENT_TYPE_JDBCA constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. STATEMENT_TYPE_OTHERA constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. STATEMENT_TYPE_PLSQLA constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. STATEMENT_TYPE_QUERYA constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. STATEMENT_TYPE_SESSION_CONTROLA constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. STATEMENT_TYPE_SQLPLUSA constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. STATEMENT_TYPE_SYSTEM_CONTROLA constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. STATEMENT_TYPE_TRANSACTION_CONTROLA constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. bindsGets the binds of this ExecuteSqlResponseItemStandard. dbms_outputGets the dbms_output of this ExecuteSqlResponseItemStandard. errorGets the error of this ExecuteSqlResponseItemStandard. propertiesGets the properties of this ExecuteSqlResponseItemStandard. responsesGets the responses of this ExecuteSqlResponseItemStandard. result_setGets the result_set of this ExecuteSqlResponseItemStandard. result_set_objectGets the result_set_object of this ExecuteSqlResponseItemStandard. resultsGets the results of this ExecuteSqlResponseItemStandard. statement_idGets the statement_id of this ExecuteSqlResponseItemStandard. statement_posGets the statement_pos of this ExecuteSqlResponseItemStandard. statement_textGets the statement_text of this ExecuteSqlResponseItemStandard. statement_typeGets the statement_type of this ExecuteSqlResponseItemStandard. Methods
__init__(**kwargs)Initializes a new ExecuteSqlResponseItemStandard object with values from keyword arguments. -
STATEMENT_TYPE_DDL= 'DDL'¶ A constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. This constant has a value of “DDL”
-
STATEMENT_TYPE_DML= 'DML'¶ A constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. This constant has a value of “DML”
-
STATEMENT_TYPE_IGNORE= 'IGNORE'¶ A constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. This constant has a value of “IGNORE”
-
STATEMENT_TYPE_JDBC= 'JDBC'¶ A constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. This constant has a value of “JDBC”
-
STATEMENT_TYPE_OTHER= 'OTHER'¶ A constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. This constant has a value of “OTHER”
-
STATEMENT_TYPE_PLSQL= 'PLSQL'¶ A constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. This constant has a value of “PLSQL”
-
STATEMENT_TYPE_QUERY= 'QUERY'¶ A constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. This constant has a value of “QUERY”
-
STATEMENT_TYPE_SESSION_CONTROL= 'SESSION_CONTROL'¶ A constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. This constant has a value of “SESSION_CONTROL”
-
STATEMENT_TYPE_SQLPLUS= 'SQLPLUS'¶ A constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. This constant has a value of “SQLPLUS”
-
STATEMENT_TYPE_SYSTEM_CONTROL= 'SYSTEM_CONTROL'¶ A constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. This constant has a value of “SYSTEM_CONTROL”
-
STATEMENT_TYPE_TRANSACTION_CONTROL= 'TRANSACTION_CONTROL'¶ A constant which can be used with the statement_type property of a ExecuteSqlResponseItemStandard. This constant has a value of “TRANSACTION_CONTROL”
-
__init__(**kwargs)¶ Initializes a new ExecuteSqlResponseItemStandard object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - statement_id (int) – The value to assign to the statement_id property of this ExecuteSqlResponseItemStandard.
- statement_type (str) – The value to assign to the statement_type property of this ExecuteSqlResponseItemStandard. Allowed values for this property are: “QUERY”, “DML”, “DDL”, “PLSQL”, “SQLPLUS”, “IGNORE”, “TRANSACTION_CONTROL”, “SESSION_CONTROL”, “SYSTEM_CONTROL”, “JDBC”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- statement_pos (oci.database_tools_runtime.models.ExecuteSqlResponseItemStatementPos) – The value to assign to the statement_pos property of this ExecuteSqlResponseItemStandard.
- statement_text (str) – The value to assign to the statement_text property of this ExecuteSqlResponseItemStandard.
- error (oci.database_tools_runtime.models.ExecuteSqlResponseItemError) – The value to assign to the error property of this ExecuteSqlResponseItemStandard.
- dbms_output (str) – The value to assign to the dbms_output property of this ExecuteSqlResponseItemStandard.
- properties (oci.database_tools_runtime.models.ExecuteSqlResponseItemProperties) – The value to assign to the properties property of this ExecuteSqlResponseItemStandard.
- responses (list[str]) – The value to assign to the responses property of this ExecuteSqlResponseItemStandard.
- results (list[int]) – The value to assign to the results property of this ExecuteSqlResponseItemStandard.
- result_set_object (oci.database_tools_runtime.models.ExecuteSqlOutputDispositionDetails) – The value to assign to the result_set_object property of this ExecuteSqlResponseItemStandard.
- result_set (oci.database_tools_runtime.models.ExecuteSqlResponseItemResultSet) – The value to assign to the result_set property of this ExecuteSqlResponseItemStandard.
- binds (list[oci.database_tools_runtime.models.ExecuteSqlBind]) – The value to assign to the binds property of this ExecuteSqlResponseItemStandard.
-
binds¶ Gets the binds of this ExecuteSqlResponseItemStandard. Array of objects specifying the bind information.
Returns: The binds of this ExecuteSqlResponseItemStandard. Return type: list[oci.database_tools_runtime.models.ExecuteSqlBind]
-
dbms_output¶ Gets the dbms_output of this ExecuteSqlResponseItemStandard. Output from DBMS_OUTPUT package. Server output must be enabled (e.g., SET SERVEROUTPUT ON).
Returns: The dbms_output of this ExecuteSqlResponseItemStandard. Return type: str
-
error¶ Gets the error of this ExecuteSqlResponseItemStandard.
Returns: The error of this ExecuteSqlResponseItemStandard. Return type: oci.database_tools_runtime.models.ExecuteSqlResponseItemError
-
properties¶ Gets the properties of this ExecuteSqlResponseItemStandard.
Returns: The properties of this ExecuteSqlResponseItemStandard. Return type: oci.database_tools_runtime.models.ExecuteSqlResponseItemProperties
-
responses¶ Gets the responses of this ExecuteSqlResponseItemStandard. Responses generated when executing the statements.
Returns: The responses of this ExecuteSqlResponseItemStandard. Return type: list[str]
-
result_set¶ Gets the result_set of this ExecuteSqlResponseItemStandard.
Returns: The result_set of this ExecuteSqlResponseItemStandard. Return type: oci.database_tools_runtime.models.ExecuteSqlResponseItemResultSet
-
result_set_object¶ Gets the result_set_object of this ExecuteSqlResponseItemStandard.
Returns: The result_set_object of this ExecuteSqlResponseItemStandard. Return type: oci.database_tools_runtime.models.ExecuteSqlOutputDispositionDetails
-
results¶ Gets the results of this ExecuteSqlResponseItemStandard. Results generated when executing the statements.
Returns: The results of this ExecuteSqlResponseItemStandard. Return type: list[int]
-
statement_id¶ Gets the statement_id of this ExecuteSqlResponseItemStandard. The sequence number of the statement. Sequence number of the first statement is 1.
Returns: The statement_id of this ExecuteSqlResponseItemStandard. Return type: int
-
statement_pos¶ Gets the statement_pos of this ExecuteSqlResponseItemStandard.
Returns: The statement_pos of this ExecuteSqlResponseItemStandard. Return type: oci.database_tools_runtime.models.ExecuteSqlResponseItemStatementPos
-
statement_text¶ Gets the statement_text of this ExecuteSqlResponseItemStandard. Text of statements executed.
Returns: The statement_text of this ExecuteSqlResponseItemStandard. Return type: str
-
statement_type¶ Gets the statement_type of this ExecuteSqlResponseItemStandard. The Statement type.
Allowed values for this property are: “QUERY”, “DML”, “DDL”, “PLSQL”, “SQLPLUS”, “IGNORE”, “TRANSACTION_CONTROL”, “SESSION_CONTROL”, “SYSTEM_CONTROL”, “JDBC”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The statement_type of this ExecuteSqlResponseItemStandard. Return type: str
-