Class AggregateTasks
java.lang.Object
ch.tocco.nice2.persist.core.api.exec.tasks2.AggregateTasks
Collection of the 3 standard aggregation functions: avg, count and sum. The tasks work with either
EntityList or Iterable<Entity>.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAggregateTasks.AggregateTask<N extends Number>static classUsesAggregateTasks.SumandAggregateTasks.Countto compute the average.static classReturns the size of the given entity list.static classstatic classUses a given field name to obtain the value of that field of each entity in the list to compute the sum.static classCalculates the sum of the values returned when resolving the given path against each entity of the entity list. -
Method Summary