public class CountHandler<T> extends Object implements OutputOperationHandler<Count<T>,Long>
Constructor and Description |
---|
CountHandler() |
Modifier and Type | Method and Description |
---|---|
Long |
doOperation(Count operation,
Context context,
Store store)
Execute the given
Output operation. |
public Long doOperation(Count operation, Context context, Store store) throws OperationException
OutputOperationHandler
Output
operation.doOperation
in interface OperationHandler<Count<T>>
doOperation
in interface OutputOperationHandler<Count<T>,Long>
operation
- the Output
operation to be executedcontext
- the operation chain context, containing the user who executed the operationstore
- the Store
the operation should be run onOperationException
- thrown if the operation failsCopyright © 2022. All rights reserved.