Interface AggregationStrategy<V,T>
- Type Parameters:
T
- type of aggregation resultV
- type of property values or type of datasource items ifAggregationInfo.Type.CUSTOM
andMetaPropertyPath
of aggregation info is null
public interface AggregationStrategy<V,T>
Custom aggregation strategy for
Table
component.-
Method Summary
Modifier and TypeMethodDescriptionaggregate
(Collection<V> propertyValues) Performs aggregation ofpropertyValues
.
-
Method Details
-
aggregate
Performs aggregation ofpropertyValues
.- Parameters:
propertyValues
- values of the associatedMetaPropertyPath
or datasource items ifMetaPropertyPath
of aggregation info is null- Returns:
- aggregation result
-
getResultClass
- Returns:
- type of result value
-