code: public AggregateResult aggregateQuery(TableDefinition tableDef, OlapAggregate request) {
          checkServiceState();
          AggregationResult result = m_olap.aggregate(tableDef.getAppDef(), tableDef.getTableName(), request);
          return AggregateResultConverter.create(result, request);
      }
docs: Perform an aggregate query on the given table using the given request.
  
  @param tableDef  {@link TableDefinition} of table to query.
  @param request   {@link OlapAggregate} that defines query parameters.
  @return          {@link AggregateResult} containing search results.