public interface DatamartQueryResult
Query
in the DatamartContext
- calling the DatamartQuery function, or equivalent SandboxAPI api.datamartQuery() - both deprecated!Modifier and Type | Method and Description |
---|---|
void |
calculateSummaryStatistics()
Calculates basic summary statistics on the query result data, and add it to the Summary map:
Sum, Avg, Mean, Min, Max, Std
and quantiles Q.05, Q.1, Q.2, Q.25, Q.4, Q.5, Q.6, Q.7, Q.75, Q.8, Q.8, Q.95.
|
void |
determineDistinctValues(Collection<String> projAliases)
Adds the set of distinct values for the specified projections to the Summary map, in summary.distinctValuesFor_
|
Matrix2D |
getData()
Retreives the query result data.
|
Object |
getDistinctValues(String projAlias)
Get the distinct values for a given projeciton.
|
Map<String,Serializable> |
getSummary()
Additional query summary information,
|
Matrix2D getData()
Matrix
format. All data rows are included
in this matrix. The matrix rows represent data rows, while the columns represent the query projections.
Return null
if the maximum number of rows is exceeded. This max is set through Price f(x) instance
parameter 'datamart.query.externalRowsLimit', with a typical value of 100k rows.Map<String,Serializable> getSummary()
void determineDistinctValues(Collection<String> projAliases)
projAliases
- The aliases of the projections to inspectObject getDistinctValues(String projAlias)
projAlias
- Alias of a projectionvoid calculateSummaryStatistics()
Copyright © 2019. All rights reserved.