Package com.oracle.bmc.opsi.model
Class DataObjectTemplatizedQuery.Builder
- java.lang.Object
- 
- com.oracle.bmc.opsi.model.DataObjectTemplatizedQuery.Builder
 
- 
- Enclosing class:
- DataObjectTemplatizedQuery
 
 public static class DataObjectTemplatizedQuery.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DataObjectTemplatizedQuery.BuilderbindParams(List<DataObjectBindParameter> bindParams)DataObjectTemplatizedQuerybuild()DataObjectTemplatizedQuery.Buildercopy(DataObjectTemplatizedQuery model)DataObjectTemplatizedQuery.BuilderfromClause(String fromClause)Unique data object name that will be added into the FROM clause of the query, just like a view name in FROM clause.DataObjectTemplatizedQuery.BuildergroupByList(List<String> groupByList)List of items to be added into the GROUP BY clause of the query; items will be added with comma separation.DataObjectTemplatizedQuery.BuilderhavingConditionsList(List<String> havingConditionsList)List of items to be added into the HAVING clause of the query; items will be added with AND separation.DataObjectTemplatizedQuery.BuilderorderByList(List<String> orderByList)List of items to be added into the ORDER BY clause of the query; items will be added with comma separation.DataObjectTemplatizedQuery.BuilderqueryExecutionTimeoutInSeconds(Double queryExecutionTimeoutInSeconds)DataObjectTemplatizedQuery.BuilderselectList(List<String> selectList)List of items to be added into the SELECT clause of the query; items will be added with comma separation.DataObjectTemplatizedQuery.BuildertimeFilters(DataObjectQueryTimeFilters timeFilters)DataObjectTemplatizedQuery.BuilderwhereConditionsList(List<String> whereConditionsList)List of items to be added into the WHERE clause of the query; items will be added with AND separation.
 
- 
- 
- 
Method Detail- 
bindParamspublic DataObjectTemplatizedQuery.Builder bindParams(List<DataObjectBindParameter> bindParams) 
 - 
queryExecutionTimeoutInSecondspublic DataObjectTemplatizedQuery.Builder queryExecutionTimeoutInSeconds(Double queryExecutionTimeoutInSeconds) 
 - 
selectListpublic DataObjectTemplatizedQuery.Builder selectList(List<String> selectList) List of items to be added into the SELECT clause of the query; items will be added with comma separation.- Parameters:
- selectList- the value to set
- Returns:
- this builder
 
 - 
fromClausepublic DataObjectTemplatizedQuery.Builder fromClause(String fromClause) Unique data object name that will be added into the FROM clause of the query, just like a view name in FROM clause.- Use actual name of the data objects (e.g: tables, views) in case of Warehouse (e.g: Awr hub) data objects query. SCHEMA.VIEW name syntax can also be used here. e.g: SYS.DBA_HIST_SNAPSHOT or DBA_HIST_SNAPSHOT - Use name of the data object (e.g: SQL_STATS_DO) in case of OPSI data objects. Identifier of the OPSI data object cannot be used here.
 - Parameters:
- fromClause- the value to set
- Returns:
- this builder
 
 - 
whereConditionsListpublic DataObjectTemplatizedQuery.Builder whereConditionsList(List<String> whereConditionsList) List of items to be added into the WHERE clause of the query; items will be added with AND separation.Item can contain a single condition or multiple conditions. Single condition e.g: “optimizer_mode=‘mode1’” Multiple conditions e.g: (module=‘module1’ OR module=‘module2’) - Parameters:
- whereConditionsList- the value to set
- Returns:
- this builder
 
 - 
groupByListpublic DataObjectTemplatizedQuery.Builder groupByList(List<String> groupByList) List of items to be added into the GROUP BY clause of the query; items will be added with comma separation.- Parameters:
- groupByList- the value to set
- Returns:
- this builder
 
 - 
havingConditionsListpublic DataObjectTemplatizedQuery.Builder havingConditionsList(List<String> havingConditionsList) List of items to be added into the HAVING clause of the query; items will be added with AND separation.- Parameters:
- havingConditionsList- the value to set
- Returns:
- this builder
 
 - 
orderByListpublic DataObjectTemplatizedQuery.Builder orderByList(List<String> orderByList) List of items to be added into the ORDER BY clause of the query; items will be added with comma separation.- Parameters:
- orderByList- the value to set
- Returns:
- this builder
 
 - 
timeFilterspublic DataObjectTemplatizedQuery.Builder timeFilters(DataObjectQueryTimeFilters timeFilters) 
 - 
buildpublic DataObjectTemplatizedQuery build() 
 - 
copypublic DataObjectTemplatizedQuery.Builder copy(DataObjectTemplatizedQuery model) 
 
- 
 
-