Package io.jmix.flowui.data.aggregation
Class Aggregations
java.lang.Object
io.jmix.flowui.data.aggregation.Aggregations
Class that is responsible for registering and managing aggregation strategies for various data types.
It provides mechanisms for retrieving the appropriate aggregation logic based on the Java class type.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Aggregation<T>Returns the aggregation strategy associated with the specified Java class type.protected <T> voidregister(Datatype<?> datatype, Aggregation<T> aggregation) protected voidvoidsetDatatypeRegistry(DatatypeRegistry datatypeRegistry)
-
Field Details
-
datatypeRegistry
-
datatypeToAggregation
-
-
Constructor Details
-
Aggregations
public Aggregations()
-
-
Method Details
-
setDatatypeRegistry
-
get
Returns the aggregation strategy associated with the specified Java class type.- Type Parameters:
T- the type of the aggregation result- Parameters:
clazz- the class type for which the aggregation strategy is requested- Returns:
- the aggregation strategy for the specified class type, or
nullif no mapping exists
-
registerDatatypes
protected void registerDatatypes() -
register
-