MySqlQueryExplainPlan¶
-
class
oci.database_management.models.
MySqlQueryExplainPlan
(**kwargs)¶ Bases:
object
The explain plan for a given MySQL query.
Attributes
JSON_EXPLAIN_VERSION_V1
A constant which can be used with the json_explain_version property of a MySqlQueryExplainPlan. JSON_EXPLAIN_VERSION_V2
A constant which can be used with the json_explain_version property of a MySqlQueryExplainPlan. json_explain
[Required] Gets the json_explain of this MySqlQueryExplainPlan. json_explain_version
[Required] Gets the json_explain_version of this MySqlQueryExplainPlan. Methods
__init__
(**kwargs)Initializes a new MySqlQueryExplainPlan object with values from keyword arguments. -
JSON_EXPLAIN_VERSION_V1
= 'V1'¶ A constant which can be used with the json_explain_version property of a MySqlQueryExplainPlan. This constant has a value of “V1”
-
JSON_EXPLAIN_VERSION_V2
= 'V2'¶ A constant which can be used with the json_explain_version property of a MySqlQueryExplainPlan. This constant has a value of “V2”
-
__init__
(**kwargs)¶ Initializes a new MySqlQueryExplainPlan object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - json_explain (str) – The value to assign to the json_explain property of this MySqlQueryExplainPlan.
- json_explain_version (str) – The value to assign to the json_explain_version property of this MySqlQueryExplainPlan. Allowed values for this property are: “V1”, “V2”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
json_explain
¶ [Required] Gets the json_explain of this MySqlQueryExplainPlan. The json format of the explain plan.
Returns: The json_explain of this MySqlQueryExplainPlan. Return type: str
-
json_explain_version
¶ [Required] Gets the json_explain_version of this MySqlQueryExplainPlan. The version of the Json format of MySQL Explain.
Allowed values for this property are: “V1”, “V2”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The json_explain_version of this MySqlQueryExplainPlan. Return type: str
-