MySqlSqlText

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

Bases: object

MySql SQL Text type object.

Methods

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

Attributes

command_type Gets the command_type of this MySqlSqlText.
digest [Required] Gets the digest of this MySqlSqlText.
digest_text [Required] Gets the digest_text of this MySqlSqlText.
schema_name Gets the schema_name of this MySqlSqlText.
time_collected [Required] Gets the time_collected of this MySqlSqlText.
__init__(**kwargs)

Initializes a new MySqlSqlText object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • schema_name (str) – The value to assign to the schema_name property of this MySqlSqlText.
  • digest (str) – The value to assign to the digest property of this MySqlSqlText.
  • time_collected (datetime) – The value to assign to the time_collected property of this MySqlSqlText.
  • command_type (str) – The value to assign to the command_type property of this MySqlSqlText.
  • digest_text (str) – The value to assign to the digest_text property of this MySqlSqlText.
command_type

Gets the command_type of this MySqlSqlText. SQL event name Example: “SELECT”

Returns:The command_type of this MySqlSqlText.
Return type:str
digest

[Required] Gets the digest of this MySqlSqlText. digest Example: “323k3k99ua09a90adf”

Returns:The digest of this MySqlSqlText.
Return type:str
digest_text

[Required] Gets the digest_text of this MySqlSqlText. The normalized statement string. Example: “SELECT username,profile,default_tablespace,temporary_tablespace FROM dba_users”

Returns:The digest_text of this MySqlSqlText.
Return type:str
schema_name

Gets the schema_name of this MySqlSqlText. Name of Database Schema. Example: “performance_schema”

Returns:The schema_name of this MySqlSqlText.
Return type:str
time_collected

[Required] Gets the time_collected of this MySqlSqlText. Collection timestamp. Example: “2020-05-06T00:00:00.000Z”

Returns:The time_collected of this MySqlSqlText.
Return type:datetime