Class AggregateQuery
java.lang.Object
ch.tocco.nice2.persist.core.api.exec.tasks2.AggregateQuery
- All Implemented Interfaces:
OptionalTask<AggregateQuery.Arg,
,Map<GroupbyTask.Key, Number>> PersistTask<AggregateQuery.Arg,
Map<GroupbyTask.Key, Number>>
public class AggregateQuery
extends Object
implements OptionalTask<AggregateQuery.Arg,Map<GroupbyTask.Key,Number>>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.OptionalTask
run
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, logTime, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
AggregateQuery
public AggregateQuery()
-
-
Method Details
-
doRun
public Map<GroupbyTask.Key,Number> doRun(AggregateQuery.Arg arg, CommandContext ctx) throws Exception - Specified by:
doRun
in interfaceOptionalTask<AggregateQuery.Arg,
Map<GroupbyTask.Key, Number>> - Throws:
Exception
-