Class AggregateTasks.SimpleSum

java.lang.Object
ch.tocco.nice2.persist.core.api.exec.tasks2.AggregateTasks.SimpleSum
All Implemented Interfaces:
OptionalTask<Iterable<Entity>,BigDecimal>, PersistTask<Iterable<Entity>,BigDecimal>, AggregateTasks.AggregateTask<BigDecimal>
Enclosing class:
AggregateTasks

public static class AggregateTasks.SimpleSum extends Object implements OptionalTask<Iterable<Entity>,BigDecimal>, AggregateTasks.AggregateTask<BigDecimal>
Uses a given field name to obtain the value of that field of each entity in the list to compute the sum. The field must point to a numeric value.