Class 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 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).
    • Method Detail

      • 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
      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel