@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class SqlBucket extends ExplicitlySetBmcModel
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
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__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) |
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() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"version","databaseType","timeCollected","sqlIdentifier","planHash","bucketId","executionsCount","cpuTimeInSec","ioTimeInSec","otherWaitTimeInSec","totalTimeInSec"}) 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
public String toString()
toString
in class ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ExplicitlySetBmcModel
public int hashCode()
hashCode
in class ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.