SqlStatisticAggregation¶
- class oci.opsi.models.SqlStatisticAggregation(**kwargs)¶
Bases:
objectSQL Statistics
Methods:
__init__(**kwargs)Initializes a new SqlStatisticAggregation object with values from keyword arguments.
Attributes:
[Required] Gets the category of this SqlStatisticAggregation.
[Required] Gets the database_details of this SqlStatisticAggregation.
[Required] Gets the sql_identifier of this SqlStatisticAggregation.
Gets the statistics of this SqlStatisticAggregation.
- __init__(**kwargs)¶
Initializes a new SqlStatisticAggregation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
sql_identifier (str) – The value to assign to the sql_identifier property of this SqlStatisticAggregation.
database_details (oci.opsi.models.DatabaseDetails) – The value to assign to the database_details property of this SqlStatisticAggregation.
category (list[str]) – The value to assign to the category property of this SqlStatisticAggregation.
statistics (oci.opsi.models.SqlStatistics) – The value to assign to the statistics property of this SqlStatisticAggregation.
- property category¶
[Required] Gets the category of this SqlStatisticAggregation. SQL belongs to one or more categories based on the insights.
- Returns
The category of this SqlStatisticAggregation.
- Return type
list[str]
- property database_details¶
[Required] Gets the database_details of this SqlStatisticAggregation.
- Returns
The database_details of this SqlStatisticAggregation.
- Return type
- property sql_identifier¶
[Required] Gets the sql_identifier of this SqlStatisticAggregation. Unique SQL_ID for a SQL Statement.
- Returns
The sql_identifier of this SqlStatisticAggregation.
- Return type
str
- property statistics¶
Gets the statistics of this SqlStatisticAggregation.
- Returns
The statistics of this SqlStatisticAggregation.
- Return type