Package com.oracle.bmc.opsi.model
Class DataObjectTemplatizedQuery
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.opsi.model.DataObjectQuery
- 
- com.oracle.bmc.opsi.model.DataObjectTemplatizedQuery
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class DataObjectTemplatizedQuery extends DataObjectQueryInformation required in a structured template to form and execute query on a data object.
 Note: Objects should always be created or deserialized using theDataObjectTemplatizedQuery.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 theDataObjectTemplatizedQuery.Builder, which maintain a set of all explicitly set fields calledDataObjectTemplatizedQuery.Builder.__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDataObjectTemplatizedQuery.Builder- 
Nested classes/interfaces inherited from class com.oracle.bmc.opsi.model.DataObjectQueryDataObjectQuery.QueryType
 
- 
 - 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataObjectTemplatizedQuery.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetFromClause()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.DataObjectQueryTimeFiltersgetTimeFilters()List<String>getWhereConditionsList()List of items to be added into the WHERE clause of the query; items will be added with AND separation.inthashCode()DataObjectTemplatizedQuery.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.opsi.model.DataObjectQuerygetBindParams, getQueryExecutionTimeoutInSeconds
 
- 
 
- 
- 
- 
Constructor Detail- 
DataObjectTemplatizedQuery@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) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DataObjectTemplatizedQuery.Builder builder() Create a new builder.
 - 
toBuilderpublic DataObjectTemplatizedQuery.Builder toBuilder() 
 - 
getSelectListpublic List<String> getSelectList() List of items to be added into the SELECT clause of the query; items will be added with comma separation.- Returns:
- the value
 
 - 
getFromClausepublic 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.- 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.
 - Returns:
- the value
 
 - 
getWhereConditionsListpublic 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’) - Returns:
- the value
 
 - 
getGroupByListpublic List<String> getGroupByList() List of items to be added into the GROUP BY clause of the query; items will be added with comma separation.- Returns:
- the value
 
 - 
getHavingConditionsListpublic List<String> getHavingConditionsList() List of items to be added into the HAVING clause of the query; items will be added with AND separation.- Returns:
- the value
 
 - 
getOrderByListpublic List<String> getOrderByList() List of items to be added into the ORDER BY clause of the query; items will be added with comma separation.- Returns:
- the value
 
 - 
getTimeFilterspublic DataObjectQueryTimeFilters getTimeFilters() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- DataObjectQuery
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- DataObjectQuery
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- DataObjectQuery
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- DataObjectQuery
 
 
- 
 
-