Interface AggregateResult
public interface AggregateResult
The values of all aggregates of one
AggregateQueryBuilder.-
Method Details
-
getSingleResult
- Returns:
- the value of the only aggregate of the query
- Throws:
IllegalStateException- if the query has more than one aggregate
-
getResult
- Returns:
- the value of the aggregate or an empty
Optionalif no rows matched - Throws:
IllegalArgumentException- if the aggregate was not added to the query builder
-