public static class MySqlSqlText.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MySqlSqlText |
build() |
MySqlSqlText.Builder |
commandType(String commandType)
SQL event name Example:
"SELECT" |
MySqlSqlText.Builder |
copy(MySqlSqlText model) |
MySqlSqlText.Builder |
digest(String digest)
digest Example:
"323k3k99ua09a90adf" |
MySqlSqlText.Builder |
digestText(String digestText)
The normalized statement string.
|
MySqlSqlText.Builder |
schemaName(String schemaName)
Name of Database Schema.
|
MySqlSqlText.Builder |
timeCollected(Date timeCollected)
Collection timestamp.
|
public MySqlSqlText.Builder schemaName(String schemaName)
Name of Database Schema. Example: "performance_schema"
schemaName
- the value to setpublic MySqlSqlText.Builder digest(String digest)
digest Example: "323k3k99ua09a90adf"
digest
- the value to setpublic MySqlSqlText.Builder timeCollected(Date timeCollected)
Collection timestamp. Example: "2020-05-06T00:00:00.000Z"
timeCollected
- the value to setpublic MySqlSqlText.Builder commandType(String commandType)
SQL event name Example: "SELECT"
commandType
- the value to setpublic MySqlSqlText.Builder digestText(String digestText)
The normalized statement string. Example: "SELECT
username,profile,default_tablespace,temporary_tablespace FROM dba_users"
digestText
- the value to setpublic MySqlSqlText build()
public MySqlSqlText.Builder copy(MySqlSqlText model)
Copyright © 2016–2024. All rights reserved.