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.ExplicitlySetBmcModel
Details 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 class
SqlTuningSet.AllSqlStatementsFetched
In OCI database management, there is a limit to fetch only 2000 rows.static class
SqlTuningSet.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.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 setSqlTuningSetStatusTypes
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.
-
-
-
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:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-