Class CountGroupsHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.CountGroupsHandler
-
- All Implemented Interfaces:
OperationHandler<CountGroups>
,OutputOperationHandler<CountGroups,GroupCounts>
public class CountGroupsHandler extends Object implements OutputOperationHandler<CountGroups,GroupCounts>
ACountGroupsHandler
handlesCountGroups
operations.
-
-
Constructor Summary
Constructors Constructor Description CountGroupsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupCounts
doOperation(CountGroups operation, Context context, Store store)
Execute the givenOutput
operation.
-
-
-
Method Detail
-
doOperation
public GroupCounts doOperation(CountGroups operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandler
Execute the givenOutput
operation.- Specified by:
doOperation
in interfaceOperationHandler<CountGroups>
- Specified by:
doOperation
in interfaceOutputOperationHandler<CountGroups,GroupCounts>
- Parameters:
operation
- theOutput
operation to be executedcontext
- the operation chain context, containing the user who executed the operationstore
- theStore
the operation should be run on- Returns:
- the output for the operation.
- Throws:
OperationException
- thrown if the operation fails
-
-