/** * Return <code>true</code> if any of the {@link ProjectionNode}, * {@link GroupByNode}, or {@link HavingNode} indicate that this is an * aggregation query. * * @param query * The query. * * @return <code>true</code>if it is an aggregation query. */ public static boolean isAggregate(final QueryBase query) { return isAggregate(query.getProjection(), query.getGroupBy(), query.getHaving()); }
/** * Return <code>true</code> if any of the {@link ProjectionNode}, * {@link GroupByNode}, or {@link HavingNode} indicate that this is an * aggregation query. * * @param query * The query. * * @return <code>true</code>if it is an aggregation query. */ public static boolean isAggregate(final QueryBase query) { return isAggregate(query.getProjection(), query.getGroupBy(), query.getHaving()); }
final IGroupNode<IGroupMemberNode> whereClause = getWhereClause(); final GroupByNode groupBy = getGroupBy(); final HavingNode having = getHaving(); final OrderByNode orderBy = getOrderBy(); final SliceNode slice = getSlice();
final IGroupNode<IGroupMemberNode> whereClause = getWhereClause(); final GroupByNode groupBy = getGroupBy(); final HavingNode having = getHaving(); final OrderByNode orderBy = getOrderBy(); final SliceNode slice = getSlice();
final HavingNode having = queryRoot.getHaving();
final HavingNode having = queryRoot.getHaving();