public static class FetchSqlTuningSetDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FetchSqlTuningSetDetails.Builder |
basicFilter(String basicFilter)
Specifies the Sql predicate to filter the Sql from the Sql tuning set defined on
attributes of the SQLSET_ROW.
|
FetchSqlTuningSetDetails |
build() |
FetchSqlTuningSetDetails.Builder |
copy(FetchSqlTuningSetDetails model) |
FetchSqlTuningSetDetails.Builder |
credentialDetails(SqlTuningSetAdminCredentialDetails credentialDetails) |
FetchSqlTuningSetDetails.Builder |
databaseCredential(DatabaseCredentialDetails databaseCredential) |
FetchSqlTuningSetDetails.Builder |
name(String name)
The name of the Sql tuning set.
|
FetchSqlTuningSetDetails.Builder |
owner(String owner)
The owner of the Sql tuning set.
|
FetchSqlTuningSetDetails.Builder |
rankingMeasure1(RankingMeasure rankingMeasure1)
Specifies an ORDER BY clause on the selected Sql.
|
FetchSqlTuningSetDetails.Builder |
rankingMeasure2(RankingMeasure rankingMeasure2)
Specifies an ORDER BY clause on the selected Sql.
|
FetchSqlTuningSetDetails.Builder |
rankingMeasure3(RankingMeasure rankingMeasure3)
Specifies an ORDER BY clause on the selected Sql.
|
FetchSqlTuningSetDetails.Builder |
recursiveSql(FetchSqlTuningSetDetails.RecursiveSql recursiveSql)
Specifies that the filter must include recursive Sql in the Sql tuning set.
|
FetchSqlTuningSetDetails.Builder |
resultLimit(Integer resultLimit)
The top limit Sql from the filtered source, ranked by the ranking measure.
|
FetchSqlTuningSetDetails.Builder |
resultPercentage(Double resultPercentage)
Specifies a filter that picks the top n% according to the supplied ranking measure.
|
public FetchSqlTuningSetDetails.Builder credentialDetails(SqlTuningSetAdminCredentialDetails credentialDetails)
public FetchSqlTuningSetDetails.Builder databaseCredential(DatabaseCredentialDetails databaseCredential)
public FetchSqlTuningSetDetails.Builder owner(String owner)
The owner of the Sql tuning set.
owner
- the value to setpublic FetchSqlTuningSetDetails.Builder name(String name)
The name of the Sql tuning set.
name
- the value to setpublic FetchSqlTuningSetDetails.Builder basicFilter(String basicFilter)
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
basicFilter
- the value to setpublic FetchSqlTuningSetDetails.Builder recursiveSql(FetchSqlTuningSetDetails.RecursiveSql recursiveSql)
Specifies that the filter must include recursive Sql in the Sql tuning set.
recursiveSql
- the value to setpublic FetchSqlTuningSetDetails.Builder resultPercentage(Double resultPercentage)
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.
resultPercentage
- the value to setpublic FetchSqlTuningSetDetails.Builder resultLimit(Integer resultLimit)
The top limit Sql from the filtered source, ranked by the ranking measure.
resultLimit
- the value to setpublic FetchSqlTuningSetDetails.Builder rankingMeasure1(RankingMeasure rankingMeasure1)
Specifies an ORDER BY clause on the selected Sql. User can specify upto three ranking measures.
rankingMeasure1
- the value to setpublic FetchSqlTuningSetDetails.Builder rankingMeasure2(RankingMeasure rankingMeasure2)
Specifies an ORDER BY clause on the selected Sql. User can specify upto three ranking measures.
rankingMeasure2
- the value to setpublic FetchSqlTuningSetDetails.Builder rankingMeasure3(RankingMeasure rankingMeasure3)
Specifies an ORDER BY clause on the selected Sql. User can specify upto three ranking measures.
rankingMeasure3
- the value to setpublic FetchSqlTuningSetDetails build()
public FetchSqlTuningSetDetails.Builder copy(FetchSqlTuningSetDetails model)
Copyright © 2016–2024. All rights reserved.