Class FetchSqlTuningSetDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.databasemanagement.model.FetchSqlTuningSetDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class FetchSqlTuningSetDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe details required to fetch the Sql tuning set details.It takes either credentialDetails or databaseCredential. It’s recommended to provide databaseCredential 
 Note: Objects should always be created or deserialized using theFetchSqlTuningSetDetails.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 theFetchSqlTuningSetDetails.Builder, which maintain a set of all explicitly set fields calledFetchSqlTuningSetDetails.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 SummaryNested Classes Modifier and Type Class Description static classFetchSqlTuningSetDetails.Builderstatic classFetchSqlTuningSetDetails.RecursiveSqlSpecifies that the filter must include recursive Sql in the Sql tuning set.
 - 
Constructor SummaryConstructors Constructor Description FetchSqlTuningSetDetails(SqlTuningSetAdminCredentialDetails credentialDetails, DatabaseCredentialDetails databaseCredential, String owner, String name, String basicFilter, FetchSqlTuningSetDetails.RecursiveSql recursiveSql, Double resultPercentage, Integer resultLimit, RankingMeasure rankingMeasure1, RankingMeasure rankingMeasure2, RankingMeasure rankingMeasure3)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FetchSqlTuningSetDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetBasicFilter()Specifies the Sql predicate to filter the Sql from the Sql tuning set defined on attributes of the SQLSET_ROW.SqlTuningSetAdminCredentialDetailsgetCredentialDetails()DatabaseCredentialDetailsgetDatabaseCredential()StringgetName()The name of the Sql tuning set.StringgetOwner()The owner of the Sql tuning set.RankingMeasuregetRankingMeasure1()Specifies an ORDER BY clause on the selected Sql.RankingMeasuregetRankingMeasure2()Specifies an ORDER BY clause on the selected Sql.RankingMeasuregetRankingMeasure3()Specifies an ORDER BY clause on the selected Sql.FetchSqlTuningSetDetails.RecursiveSqlgetRecursiveSql()Specifies that the filter must include recursive Sql in the Sql tuning set.IntegergetResultLimit()The top limit Sql from the filtered source, ranked by the ranking measure.DoublegetResultPercentage()Specifies a filter that picks the top n% according to the supplied ranking measure.inthashCode()FetchSqlTuningSetDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
FetchSqlTuningSetDetails@Deprecated @ConstructorProperties({"credentialDetails","databaseCredential","owner","name","basicFilter","recursiveSql","resultPercentage","resultLimit","rankingMeasure1","rankingMeasure2","rankingMeasure3"}) public FetchSqlTuningSetDetails(SqlTuningSetAdminCredentialDetails credentialDetails, DatabaseCredentialDetails databaseCredential, String owner, String name, String basicFilter, FetchSqlTuningSetDetails.RecursiveSql recursiveSql, Double resultPercentage, Integer resultLimit, RankingMeasure rankingMeasure1, RankingMeasure rankingMeasure2, RankingMeasure rankingMeasure3) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static FetchSqlTuningSetDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic FetchSqlTuningSetDetails.Builder toBuilder() 
 - 
getCredentialDetailspublic SqlTuningSetAdminCredentialDetails getCredentialDetails() 
 - 
getDatabaseCredentialpublic DatabaseCredentialDetails getDatabaseCredential() 
 - 
getOwnerpublic String getOwner() The owner of the Sql tuning set.- Returns:
- the value
 
 - 
getNamepublic String getName() The name of the Sql tuning set.- Returns:
- the value
 
 - 
getBasicFilterpublic String getBasicFilter() Specifies the Sql predicate to filter the Sql from the Sql tuning set defined on attributes of the SQLSET_ROW.User could use any combination of the following columns with appropriate values as Sql predicate Refer to the documentation https://docs.oracle.com/en/database/oracle/oracle-database/18/arpls/DBMS_SQLTUNE.html#GUID-1F4AFB03-7B29-46FC-B3F2-CB01EC36326C - Returns:
- the value
 
 - 
getRecursiveSqlpublic FetchSqlTuningSetDetails.RecursiveSql getRecursiveSql() Specifies that the filter must include recursive Sql in the Sql tuning set.- Returns:
- the value
 
 - 
getResultPercentagepublic Double getResultPercentage() Specifies a filter that picks the top n% according to the supplied ranking measure.Note that this parameter applies only if one ranking measure is supplied. - Returns:
- the value
 
 - 
getResultLimitpublic Integer getResultLimit() The top limit Sql from the filtered source, ranked by the ranking measure.- Returns:
- the value
 
 - 
getRankingMeasure1public RankingMeasure getRankingMeasure1() Specifies an ORDER BY clause on the selected Sql.User can specify upto three ranking measures. - Returns:
- the value
 
 - 
getRankingMeasure2public RankingMeasure getRankingMeasure2() Specifies an ORDER BY clause on the selected Sql.User can specify upto three ranking measures. - Returns:
- the value
 
 - 
getRankingMeasure3public RankingMeasure getRankingMeasure3() Specifies an ORDER BY clause on the selected Sql.User can specify upto three ranking measures. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-