Class AggregateTasks.Count
java.lang.Object
ch.tocco.nice2.persist.core.api.exec.tasks2.AggregateTasks.Count
- All Implemented Interfaces:
 OptionalTask<Iterable<Entity>,,Integer> PersistTask<Iterable<Entity>,,Integer> AggregateTasks.AggregateTask<Integer>
- Enclosing class:
 AggregateTasks
public static class AggregateTasks.Count
extends Object
implements OptionalTask<Iterable<Entity>,Integer>, AggregateTasks.AggregateTask<Integer> 
Returns the size of the given entity list. Right now it simply
 executes 
EntityList.size() but this may change in the
 future.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondoRun(Iterable<Entity> input, CommandContext ctx) static PersistTask<EntityList, Integer> static AggregateTasks.CounttoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.tocco.nice2.persist.core.api.exec.OptionalTask
runMethods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap 
- 
Constructor Details
- 
Count
public Count() 
 - 
 - 
Method Details
- 
forEntityList
 - 
forIterable
 - 
doRun
- Specified by:
 doRunin interfaceOptionalTask<Iterable<Entity>,Integer> 
 - 
fromEntityList
- Specified by:
 fromEntityListin interfaceAggregateTasks.AggregateTask<Integer>
 - 
toString
 
 -