SqlStatisticAggregation

class oci.opsi.models.SqlStatisticAggregation(**kwargs)

Bases: object

SQL Statistics

Methods

__init__(**kwargs) Initializes a new SqlStatisticAggregation object with values from keyword arguments.

Attributes

category [Required] Gets the category of this SqlStatisticAggregation.
database_details [Required] Gets the database_details of this SqlStatisticAggregation.
sql_identifier [Required] Gets the sql_identifier of this SqlStatisticAggregation.
statistics 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.
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]
database_details

[Required] Gets the database_details of this SqlStatisticAggregation.

Returns:The database_details of this SqlStatisticAggregation.
Return type:oci.opsi.models.DatabaseDetails
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
statistics

Gets the statistics of this SqlStatisticAggregation.

Returns:The statistics of this SqlStatisticAggregation.
Return type:oci.opsi.models.SqlStatistics