@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class SqlTuningSet extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of the Sql tuning set.
Note: Objects should always be created or deserialized using the SqlTuningSet.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 SqlTuningSet.Builder
, which maintain a
set of all explicitly set fields called SqlTuningSet.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
SqlTuningSet.AllSqlStatementsFetched
In OCI database management, there is a limit to fetch only 2000 rows.
|
static class |
SqlTuningSet.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SqlTuningSet(Integer id,
String owner,
String name,
Integer statementCount,
Date timeCreated,
String description,
Date timeLastModified,
SqlTuningSetStatusTypes status,
String scheduledJobName,
String errorMessage,
SqlTuningSet.AllSqlStatementsFetched allSqlStatementsFetched,
List<SqlInSqlTuningSet> sqlList)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SqlTuningSet.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
SqlTuningSet.AllSqlStatementsFetched |
getAllSqlStatementsFetched()
In OCI database management, there is a limit to fetch only 2000 rows.
|
String |
getDescription()
The description of the Sql tuning set.
|
String |
getErrorMessage()
Latest execution error of the plsql that was submitted as a scheduler job.
|
Integer |
getId()
The unique Sql tuning set identifier.
|
String |
getName()
The name of the Sql tuning set.
|
String |
getOwner()
The owner of the Sql tuning set.
|
String |
getScheduledJobName()
Name of the Sql tuning set scheduler job.
|
List<SqlInSqlTuningSet> |
getSqlList()
A list of the Sqls associated with the Sql tuning set.
|
Integer |
getStatementCount()
Number of statements in the Sql tuning set
|
SqlTuningSetStatusTypes |
getStatus()
Current status of the Sql tuning set.
|
Date |
getTimeCreated()
The created time of the Sql tuning set.
|
Date |
getTimeLastModified()
Last modified time of the Sql tuning set.
|
int |
hashCode() |
SqlTuningSet.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","owner","name","statementCount","timeCreated","description","timeLastModified","status","scheduledJobName","errorMessage","allSqlStatementsFetched","sqlList"}) public SqlTuningSet(Integer id, String owner, String name, Integer statementCount, Date timeCreated, String description, Date timeLastModified, SqlTuningSetStatusTypes status, String scheduledJobName, String errorMessage, SqlTuningSet.AllSqlStatementsFetched allSqlStatementsFetched, List<SqlInSqlTuningSet> sqlList)
public static SqlTuningSet.Builder builder()
Create a new builder.
public SqlTuningSet.Builder toBuilder()
public Integer getId()
The unique Sql tuning set identifier.
public String getOwner()
The owner of the Sql tuning set.
public String getName()
The name of the Sql tuning set.
public Integer getStatementCount()
Number of statements in the Sql tuning set
public Date getTimeCreated()
The created time of the Sql tuning set.
public String getDescription()
The description of the Sql tuning set.
public Date getTimeLastModified()
Last modified time of the Sql tuning set.
public SqlTuningSetStatusTypes getStatus()
Current status of the Sql tuning set.
public String getScheduledJobName()
Name of the Sql tuning set scheduler job.
public String getErrorMessage()
Latest execution error of the plsql that was submitted as a scheduler job.
public SqlTuningSet.AllSqlStatementsFetched getAllSqlStatementsFetched()
In OCI database management, there is a limit to fetch only 2000 rows. This flag indicates whether all Sql statements of this Sql tuning set matching the filter criteria are fetched or not. Possible values are ‘Yes’ or ‘No’ - Yes - All Sql statements matching the filter criteria are fetched. - No - There are more Sql statements matching the fitler criteria. User should fine tune the filter criteria to narrow down the result set.
public List<SqlInSqlTuningSet> getSqlList()
A list of the Sqls associated with the Sql tuning set.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.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 com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.