Class QueryResultRow.Builder
- java.lang.Object
-
- com.oracle.bmc.apmtraces.model.QueryResultRow.Builder
-
- Enclosing class:
- QueryResultRow
public static class QueryResultRow.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryResultRow
build()
QueryResultRow.Builder
copy(QueryResultRow model)
QueryResultRow.Builder
queryResultRowData(Map<String,Object> queryResultRowData)
A map containing the actual data represented by a single row of the query result.QueryResultRow.Builder
queryResultRowMetadata(Map<String,Object> queryResultRowMetadata)
A map containing metadata or add-on data for the data presented in the queryResultRowData map.
-
-
-
Method Detail
-
queryResultRowData
public QueryResultRow.Builder queryResultRowData(Map<String,Object> queryResultRowData)
A map containing the actual data represented by a single row of the query result.The key is the column name or attribute specified in the show clause, or an aggregate function in the show clause. The value is the actual value of that attribute or aggregate function of the corresponding single row of the query result set. If an alias name is specified for an attribute or an aggregate function, then the key will be the alias name specified in the show clause. If an alias name is not specified for the group by aggregate function in the show clause, then the corresponding key will be the appropriate aggregate_function_name_column_name (For example: count(traces) will be keyed as count_traces). The datatype of the value is presented in the queryResultRowTypeSummaries list in the queryResultMetadata structure, where the i-th queryResultRowTypeSummary object represents the datatype of the i-th value when this map is iterated in order.
- Parameters:
queryResultRowData
- the value to set- Returns:
- this builder
-
queryResultRowMetadata
public QueryResultRow.Builder queryResultRowMetadata(Map<String,Object> queryResultRowMetadata)
A map containing metadata or add-on data for the data presented in the queryResultRowData map.Data required to present drill down information from the queryResultRowData is presented as key-value pairs.
- Parameters:
queryResultRowMetadata
- the value to set- Returns:
- this builder
-
build
public QueryResultRow build()
-
copy
public QueryResultRow.Builder copy(QueryResultRow model)
-
-