SqlPlanCollection

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

Bases: object

SQL Plans for the particular SQL.

Methods:

__init__(**kwargs)

Initializes a new SqlPlanCollection object with values from keyword arguments.

Attributes:

database_id

[Required] Gets the database_id of this SqlPlanCollection.

id

[Required] Gets the id of this SqlPlanCollection.

items

[Required] Gets the items of this SqlPlanCollection.

sql_identifier

[Required] Gets the sql_identifier of this SqlPlanCollection.

__init__(**kwargs)

Initializes a new SqlPlanCollection 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 SqlPlanCollection.

  • id (str) – The value to assign to the id property of this SqlPlanCollection.

  • database_id (str) – The value to assign to the database_id property of this SqlPlanCollection.

  • items (list[oci.opsi.models.SqlPlanSummary]) – The value to assign to the items property of this SqlPlanCollection.

property database_id

[Required] Gets the database_id of this SqlPlanCollection. The OCID of the database.

Returns

The database_id of this SqlPlanCollection.

Return type

str

property id

[Required] Gets the id of this SqlPlanCollection. The OCID of the database insight resource.

Returns

The id of this SqlPlanCollection.

Return type

str

property items

[Required] Gets the items of this SqlPlanCollection. array of SQL Plans.

Returns

The items of this SqlPlanCollection.

Return type

list[oci.opsi.models.SqlPlanSummary]

property sql_identifier

[Required] Gets the sql_identifier of this SqlPlanCollection. Unique SQL_ID for a SQL Statement.

Returns

The sql_identifier of this SqlPlanCollection.

Return type

str