Uses of Class
org.apache.unomi.api.query.AggregateQuery
-
Packages that use AggregateQuery Package Description org.apache.unomi.api.services org.apache.unomi.rest.endpoints org.apache.unomi.services.impl.goals org.apache.unomi.services.impl.queries -
-
Uses of AggregateQuery in org.apache.unomi.api.services
Methods in org.apache.unomi.api.services with parameters of type AggregateQuery Modifier and Type Method Description Map<String,Long>
QueryService. getAggregate(String itemType, String property, AggregateQuery query)
Deprecated.As of 1.3.0-incubating, please useQueryService.getAggregateWithOptimizedQuery(String, String, AggregateQuery)
insteadMap<String,Long>
QueryService. getAggregateWithOptimizedQuery(String itemType, String property, AggregateQuery query)
Retrieves the number of items with the specified type as defined by the Item subclass public fieldITEM_TYPE
and aggregated by possible values of the specified property or, if the specified query is notnull
, perform that aggregate query.GoalReport
GoalsService. getGoalReport(String goalId, AggregateQuery query)
Retrieves the report for the goal identified with the specified identifier, considering only elements determined by the specifiedAggregateQuery
. -
Uses of AggregateQuery in org.apache.unomi.rest.endpoints
Methods in org.apache.unomi.rest.endpoints with parameters of type AggregateQuery Modifier and Type Method Description Map<String,Long>
QueryServiceEndPoint. getAggregate(String type, String property, boolean optimizedQuery, AggregateQuery aggregateQuery)
TODO: rework, this method is confusing since it either behaves likeQueryServiceEndPoint.getAggregate(String, String)
if query is null but completely differently if it isn't Retrieves the number of items with the specified type as defined by the Item subclass public fieldITEM_TYPE
and aggregated by possible values of the specified property or, if the specified query is notnull
, perform that aggregate query.GoalReport
GoalsServiceEndPoint. getGoalReport(String goalId, AggregateQuery query)
Retrieves the report for the goal identified with the specified identifier, considering only elements determined by the specifiedAggregateQuery
. -
Uses of AggregateQuery in org.apache.unomi.services.impl.goals
Methods in org.apache.unomi.services.impl.goals with parameters of type AggregateQuery Modifier and Type Method Description GoalReport
GoalsServiceImpl. getGoalReport(String goalId, AggregateQuery query)
-
Uses of AggregateQuery in org.apache.unomi.services.impl.queries
Methods in org.apache.unomi.services.impl.queries with parameters of type AggregateQuery Modifier and Type Method Description Map<String,Long>
QueryServiceImpl. getAggregate(String itemType, String property, AggregateQuery query)
Deprecated.As of version 1.3.0-incubating, useQueryServiceImpl.getAggregateWithOptimizedQuery(String, String, AggregateQuery)
insteadMap<String,Long>
QueryServiceImpl. getAggregateWithOptimizedQuery(String itemType, String property, AggregateQuery query)
-