@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class FetchSqlTuningSetDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The 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 the FetchSqlTuningSetDetails.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 FetchSqlTuningSetDetails.Builder
, which maintain a
set of all explicitly set fields called FetchSqlTuningSetDetails.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 |
FetchSqlTuningSetDetails.Builder |
static class |
FetchSqlTuningSetDetails.RecursiveSql
Specifies that the filter must include recursive Sql in the Sql tuning set.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static FetchSqlTuningSetDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getBasicFilter()
Specifies the Sql predicate to filter the Sql from the Sql tuning set defined on attributes
of the SQLSET_ROW.
|
SqlTuningSetAdminCredentialDetails |
getCredentialDetails() |
DatabaseCredentialDetails |
getDatabaseCredential() |
String |
getName()
The name of the Sql tuning set.
|
String |
getOwner()
The owner of the Sql tuning set.
|
RankingMeasure |
getRankingMeasure1()
Specifies an ORDER BY clause on the selected Sql.
|
RankingMeasure |
getRankingMeasure2()
Specifies an ORDER BY clause on the selected Sql.
|
RankingMeasure |
getRankingMeasure3()
Specifies an ORDER BY clause on the selected Sql.
|
FetchSqlTuningSetDetails.RecursiveSql |
getRecursiveSql()
Specifies that the filter must include recursive Sql in the Sql tuning set.
|
Integer |
getResultLimit()
The top limit Sql from the filtered source, ranked by the ranking measure.
|
Double |
getResultPercentage()
Specifies a filter that picks the top n% according to the supplied ranking measure.
|
int |
hashCode() |
FetchSqlTuningSetDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static FetchSqlTuningSetDetails.Builder builder()
Create a new builder.
public FetchSqlTuningSetDetails.Builder toBuilder()
public SqlTuningSetAdminCredentialDetails getCredentialDetails()
public DatabaseCredentialDetails getDatabaseCredential()
public String getOwner()
The owner of the Sql tuning set.
public String getName()
The name of the Sql tuning set.
public 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
public FetchSqlTuningSetDetails.RecursiveSql getRecursiveSql()
Specifies that the filter must include recursive Sql in the Sql tuning set.
public 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.
public Integer getResultLimit()
The top limit Sql from the filtered source, ranked by the ranking measure.
public RankingMeasure getRankingMeasure1()
Specifies an ORDER BY clause on the selected Sql. User can specify upto three ranking measures.
public RankingMeasure getRankingMeasure2()
Specifies an ORDER BY clause on the selected Sql. User can specify upto three ranking measures.
public RankingMeasure getRankingMeasure3()
Specifies an ORDER BY clause on the selected Sql. User can specify upto three ranking measures.
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.