public <U extends Tuple> U multiaggregate(
org.jinq.orm.stream.JinqStream.AggregateSelect<T, ?>[] aggregates)
{
Object [] groupingLambdas = new Object[aggregates.length];
System.arraycopy(aggregates, 0, groupingLambdas, 0, aggregates.length);
JPAQueryComposer<U> result = applyTransformWithLambdas(new MultiAggregateTransform(getConfig()), groupingLambdas);
if (result != null)
return result.executeAndGetSingleResult();
translationFail();
return null;
}