Interface AggregationStrategy<V,T>
- Type Parameters:
T- type of aggregation resultV- type of property values or type of datasource items ifAggregationInfo.Type.CUSTOMandMetaPropertyPathof 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 associatedMetaPropertyPathor datasource items ifMetaPropertyPathof aggregation info is null- Returns:
- aggregation result
-
getResultClass
- Returns:
- type of result value
-