@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class SqlBucket extends Object
Sql bucket type object.
Note: Objects should always be created or deserialized using the SqlBucket.Builder. This model distinguishes fields
that are null because they are unset from fields that are explicitly set to null. This is done in
the setter methods of the SqlBucket.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
SqlBucket.Builder |
| Constructor and Description |
|---|
SqlBucket(Float version,
String databaseType,
Date timeCollected,
String sqlIdentifier,
Long planHash,
String bucketId,
Integer executionsCount,
Float cpuTimeInSec,
Float ioTimeInSec,
Float otherWaitTimeInSec,
Float totalTimeInSec)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static SqlBucket.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getBucketId()
SQL Bucket ID, examples <= 3 secs, 3-10 secs, 10-60 secs, 1-5 min, > 5 min
Example:
\"<= 3 secs\" |
Float |
getCpuTimeInSec()
Total CPU time
Example:
1046 |
String |
getDatabaseType()
Operations Insights internal representation of the database type.
|
Integer |
getExecutionsCount()
Total number of executions
Example:
60 |
Float |
getIoTimeInSec()
Total IO time
Example:
5810 |
Float |
getOtherWaitTimeInSec()
Total other wait time
Example:
24061 |
Long |
getPlanHash()
Plan hash value for the SQL Execution Plan
|
String |
getSqlIdentifier()
Unique SQL_ID for a SQL Statement.
|
Date |
getTimeCollected()
Collection timestamp
Example:
\"2020-03-31T00:00:00.000Z\" |
Float |
getTotalTimeInSec()
Total time
Example:
30917 |
Float |
getVersion()
Version
Example:
1 |
int |
hashCode() |
SqlBucket.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"version","databaseType","timeCollected","sqlIdentifier","planHash","bucketId","executionsCount","cpuTimeInSec","ioTimeInSec","otherWaitTimeInSec","totalTimeInSec"}) @Deprecated public SqlBucket(Float version, String databaseType, Date timeCollected, String sqlIdentifier, Long planHash, String bucketId, Integer executionsCount, Float cpuTimeInSec, Float ioTimeInSec, Float otherWaitTimeInSec, Float totalTimeInSec)
public static SqlBucket.Builder builder()
Create a new builder.
public SqlBucket.Builder toBuilder()
public Float getVersion()
Version
Example: 1
public String getDatabaseType()
Operations Insights internal representation of the database type.
public Date getTimeCollected()
Collection timestamp
Example: \"2020-03-31T00:00:00.000Z\"
public String getSqlIdentifier()
Unique SQL_ID for a SQL Statement.
public Long getPlanHash()
Plan hash value for the SQL Execution Plan
public String getBucketId()
SQL Bucket ID, examples <= 3 secs, 3-10 secs, 10-60 secs, 1-5 min, > 5 min
Example: \"<= 3 secs\"
public Integer getExecutionsCount()
Total number of executions
Example: 60
public Float getCpuTimeInSec()
Total CPU time
Example: 1046
public Float getIoTimeInSec()
Total IO time
Example: 5810
public Float getOtherWaitTimeInSec()
Total other wait time
Example: 24061
public Float getTotalTimeInSec()
Total time
Example: 30917
Copyright © 2016–2021. All rights reserved.