public static class DataObjectTemplatizedQuery.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DataObjectTemplatizedQuery.Builder |
bindParams(List<DataObjectBindParameter> bindParams) |
DataObjectTemplatizedQuery |
build() |
DataObjectTemplatizedQuery.Builder |
copy(DataObjectTemplatizedQuery model) |
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.
|
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.
|
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.
|
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.
|
DataObjectTemplatizedQuery.Builder |
queryExecutionTimeoutInSeconds(Double queryExecutionTimeoutInSeconds) |
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.
|
DataObjectTemplatizedQuery.Builder |
timeFilters(DataObjectQueryTimeFilters timeFilters) |
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.
|
public DataObjectTemplatizedQuery.Builder bindParams(List<DataObjectBindParameter> bindParams)
public DataObjectTemplatizedQuery.Builder queryExecutionTimeoutInSeconds(Double queryExecutionTimeoutInSeconds)
public 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.
selectList
- the value to setpublic 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.
fromClause
- the value to setpublic 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’)
whereConditionsList
- the value to setpublic 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.
groupByList
- the value to setpublic 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.
havingConditionsList
- the value to setpublic 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.
orderByList
- the value to setpublic DataObjectTemplatizedQuery.Builder timeFilters(DataObjectQueryTimeFilters timeFilters)
public DataObjectTemplatizedQuery build()
public DataObjectTemplatizedQuery.Builder copy(DataObjectTemplatizedQuery model)
Copyright © 2016–2024. All rights reserved.