Package io.jmix.flowui.data.aggregation
Interface AggregationStrategy<V,T>
- Type Parameters:
T- type of aggregation resultV- type of property values or type of data container items ifAggregationInfo.Type.CUSTOMandMetaPropertyPathof aggregation info is null
public interface AggregationStrategy<V,T>
Custom aggregation strategy for
DataGrid component.-
Method Summary
Modifier and TypeMethodDescriptionaggregate(Collection<V> propertyValues) Performs aggregation ofpropertyValues.
-
Method Details
-
aggregate
Performs aggregation ofpropertyValues.- Parameters:
propertyValues- values of the associatedMetaPropertyPathor data container items ifMetaPropertyPathof aggregation info is null- Returns:
- aggregation result
-
getResultClass
- Returns:
- type of result value
-