Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SqlBucket.Builder |
bucketId(String bucketId)
SQL Bucket ID, examples <= 3 secs, 3-10 secs, 10-60 secs, 1-5 min, > 5 min Example:
"<= 3 secs" |
SqlBucket |
build() |
SqlBucket.Builder |
copy(SqlBucket model) |
SqlBucket.Builder |
cpuTimeInSec(Float cpuTimeInSec)
Total CPU time Example:
1046 |
SqlBucket.Builder |
databaseType(String databaseType)
Ops Insights internal representation of the database type.
|
SqlBucket.Builder |
executionsCount(Integer executionsCount)
Total number of executions Example:
60 |
SqlBucket.Builder |
ioTimeInSec(Float ioTimeInSec)
Total IO time Example:
5810 |
SqlBucket.Builder |
otherWaitTimeInSec(Float otherWaitTimeInSec)
Total other wait time Example:
24061 |
SqlBucket.Builder |
planHash(Long planHash)
Plan hash value for the SQL Execution Plan
|
SqlBucket.Builder |
sqlIdentifier(String sqlIdentifier)
Unique SQL_ID for a SQL Statement.
|
SqlBucket.Builder |
timeCollected(Date timeCollected)
Collection timestamp Example:
"2020-03-31T00:00:00.000Z" |
SqlBucket.Builder |
totalTimeInSec(Float totalTimeInSec)
Total time Example:
30917 |
SqlBucket.Builder |
version(Float version)
Version Example:
1 |
public SqlBucket.Builder version(Float version)
Version Example: 1
version
- the value to setpublic SqlBucket.Builder databaseType(String databaseType)
Ops Insights internal representation of the database type.
databaseType
- the value to setpublic SqlBucket.Builder timeCollected(Date timeCollected)
Collection timestamp Example: "2020-03-31T00:00:00.000Z"
timeCollected
- the value to setpublic SqlBucket.Builder sqlIdentifier(String sqlIdentifier)
Unique SQL_ID for a SQL Statement.
sqlIdentifier
- the value to setpublic SqlBucket.Builder planHash(Long planHash)
Plan hash value for the SQL Execution Plan
planHash
- the value to setpublic SqlBucket.Builder bucketId(String bucketId)
SQL Bucket ID, examples <= 3 secs, 3-10 secs, 10-60 secs, 1-5 min, > 5 min Example:
"<= 3 secs"
bucketId
- the value to setpublic SqlBucket.Builder executionsCount(Integer executionsCount)
Total number of executions Example: 60
executionsCount
- the value to setpublic SqlBucket.Builder cpuTimeInSec(Float cpuTimeInSec)
Total CPU time Example: 1046
cpuTimeInSec
- the value to setpublic SqlBucket.Builder ioTimeInSec(Float ioTimeInSec)
Total IO time Example: 5810
ioTimeInSec
- the value to setpublic SqlBucket.Builder otherWaitTimeInSec(Float otherWaitTimeInSec)
Total other wait time Example: 24061
otherWaitTimeInSec
- the value to setpublic SqlBucket.Builder totalTimeInSec(Float totalTimeInSec)
Total time Example: 30917
totalTimeInSec
- the value to setpublic SqlBucket build()
public SqlBucket.Builder copy(SqlBucket model)
Copyright © 2016–2024. All rights reserved.