Interface AggregatesInterface<T extends Serializable,AVG_T extends Serializable>
- All Known Implementing Classes:
BigDecimalAggregates,InstantAggregates,IntegerAggregates,LocalDateAggregates,LongAggregates,StringAggregates
public interface AggregatesInterface<T extends Serializable,AVG_T extends Serializable>
Classes that support doing data aggregations (e.g., count, sum, min, max, average).
Sub-classes should supply the type parameter.
The AVG_T parameter describes the type used for the average getAverage method
which, e.g, for date types, might be a date, vs. numbers, they'd probably be
BigDecimal.
-
Method Summary
Modifier and TypeMethodDescriptionvoidintgetCount()getMax()getMin()default BigDecimaldefault BigDecimaldefault BigDecimalgetSum()default BigDecimaldefault BigDecimalgetVarP()