Class AggregateTasks

java.lang.Object
ch.tocco.nice2.persist.core.api.exec.tasks2.AggregateTasks

@Deprecated public final class AggregateTasks extends Object
Deprecated.
use QueryBuilderFactory.aggregate(String, ch.tocco.nice2.persist.core.api.hibernate.query.builder.Aggregate[]), it calculates the aggregates with a single database query instead of loading every entity
Collection of the 3 standard aggregation functions: avg, count and sum. The tasks work with either EntityList or Iterable<Entity>.