Class SqlTuningSet
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.SqlTuningSet
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class SqlTuningSet extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails of the Sql tuning set.
Note: Objects should always be created or deserialized using theSqlTuningSet.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 theSqlTuningSet.Builder, which maintain a set of all explicitly set fields calledSqlTuningSet.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSqlTuningSet.AllSqlStatementsFetchedIn OCI database management, there is a limit to fetch only 2000 rows.static classSqlTuningSet.Builder
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlTuningSet.Builderbuilder()Create a new builder.booleanequals(Object o)SqlTuningSet.AllSqlStatementsFetchedgetAllSqlStatementsFetched()In OCI database management, there is a limit to fetch only 2000 rows.StringgetDescription()The description of the Sql tuning set.StringgetErrorMessage()Latest execution error of the plsql that was submitted as a scheduler job.IntegergetId()The unique Sql tuning set identifier.StringgetName()The name of the Sql tuning set.StringgetOwner()The owner of the Sql tuning set.StringgetScheduledJobName()Name of the Sql tuning set scheduler job.List<SqlInSqlTuningSet>getSqlList()A list of the Sqls associated with the Sql tuning set.IntegergetStatementCount()Number of statements in the Sql tuning setSqlTuningSetStatusTypesgetStatus()Current status of the Sql tuning set.DategetTimeCreated()The created time of the Sql tuning set.DategetTimeLastModified()Last modified time of the Sql tuning set.inthashCode()SqlTuningSet.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
SqlTuningSet
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static SqlTuningSet.Builder builder()
Create a new builder.
-
toBuilder
public SqlTuningSet.Builder toBuilder()
-
getId
public Integer getId()
The unique Sql tuning set identifier.- Returns:
- the value
-
getOwner
public String getOwner()
The owner of the Sql tuning set.- Returns:
- the value
-
getName
public String getName()
The name of the Sql tuning set.- Returns:
- the value
-
getStatementCount
public Integer getStatementCount()
Number of statements in the Sql tuning set- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The created time of the Sql tuning set.- Returns:
- the value
-
getDescription
public String getDescription()
The description of the Sql tuning set.- Returns:
- the value
-
getTimeLastModified
public Date getTimeLastModified()
Last modified time of the Sql tuning set.- Returns:
- the value
-
getStatus
public SqlTuningSetStatusTypes getStatus()
Current status of the Sql tuning set.- Returns:
- the value
-
getScheduledJobName
public String getScheduledJobName()
Name of the Sql tuning set scheduler job.- Returns:
- the value
-
getErrorMessage
public String getErrorMessage()
Latest execution error of the plsql that was submitted as a scheduler job.- Returns:
- the value
-
getAllSqlStatementsFetched
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.
- Returns:
- the value
-
getSqlList
public List<SqlInSqlTuningSet> getSqlList()
A list of the Sqls associated with the Sql tuning set.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-