Class TaskQuery.AggregationQuery

  • All Implemented Interfaces:
    TaskQuery.IAggregationQuery
    Enclosing class:
    TaskQuery

    public static class TaskQuery.AggregationQuery
    extends TaskQuery
    implements TaskQuery.IAggregationQuery
    This class provides methods to perform aggregations on the query. For each aggregation a column is added to the result set.

    Example:

    TaskQuery.create().aggregate().sumWorkingTime().avgWorkingTime();
    Corresponds to SQL:
    SELECT SUM(WorkingTime) AS SumWorkingTime, AVG(WorkingTime) AS AvgWorkingTime FROM IWA_Task

    API:
    This is a public API.