@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class DataObjectTemplatizedQuery extends DataObjectQuery
Information required in a structured template to form and execute query on a data object.
Note: Objects should always be created or deserialized using the DataObjectTemplatizedQuery.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 DataObjectTemplatizedQuery.Builder
, which maintain a set of all explicitly set fields called
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
DataObjectTemplatizedQuery.Builder |
DataObjectQuery.QueryType
Constructor and Description |
---|
DataObjectTemplatizedQuery(List<DataObjectBindParameter> bindParams,
Double queryExecutionTimeoutInSeconds,
List<String> selectList,
String fromClause,
List<String> whereConditionsList,
List<String> groupByList,
List<String> havingConditionsList,
List<String> orderByList,
DataObjectQueryTimeFilters timeFilters)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DataObjectTemplatizedQuery.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getFromClause()
Unique data object name that will be added into the FROM clause of the query, just like a view name in FROM clause.
|
List<String> |
getGroupByList()
List of items to be added into the GROUP BY clause of the query; items will be added with comma separation.
|
List<String> |
getHavingConditionsList()
List of items to be added into the HAVING clause of the query; items will be added with AND separation.
|
List<String> |
getOrderByList()
List of items to be added into the ORDER BY clause of the query; items will be added with comma separation.
|
List<String> |
getSelectList()
List of items to be added into the SELECT clause of the query; items will be added with comma separation.
|
DataObjectQueryTimeFilters |
getTimeFilters() |
List<String> |
getWhereConditionsList()
List of items to be added into the WHERE clause of the query; items will be added with AND separation.
|
int |
hashCode() |
DataObjectTemplatizedQuery.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getBindParams, getQueryExecutionTimeoutInSeconds
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public DataObjectTemplatizedQuery(List<DataObjectBindParameter> bindParams, Double queryExecutionTimeoutInSeconds, List<String> selectList, String fromClause, List<String> whereConditionsList, List<String> groupByList, List<String> havingConditionsList, List<String> orderByList, DataObjectQueryTimeFilters timeFilters)
public static DataObjectTemplatizedQuery.Builder builder()
Create a new builder.
public DataObjectTemplatizedQuery.Builder toBuilder()
public List<String> getSelectList()
List of items to be added into the SELECT clause of the query; items will be added with comma separation.
public String getFromClause()
Unique data object name that will be added into the FROM clause of the query, just like a view name in FROM clause.
public List<String> getWhereConditionsList()
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’)
public List<String> getGroupByList()
List of items to be added into the GROUP BY clause of the query; items will be added with comma separation.
public List<String> getHavingConditionsList()
List of items to be added into the HAVING clause of the query; items will be added with AND separation.
public List<String> getOrderByList()
List of items to be added into the ORDER BY clause of the query; items will be added with comma separation.
public DataObjectQueryTimeFilters getTimeFilters()
public String toString()
toString
in class DataObjectQuery
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class DataObjectQuery
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class DataObjectQuery
public int hashCode()
hashCode
in class DataObjectQuery
Copyright © 2016–2024. All rights reserved.