Package uk.gov.gchq.gaffer.mapstore.impl
Class DeleteElementsHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.mapstore.impl.DeleteElementsHandler
-
- All Implemented Interfaces:
OperationHandler<DeleteElements>
,OutputOperationHandler<DeleteElements,Long>
public class DeleteElementsHandler extends Object implements OutputOperationHandler<DeleteElements,Long>
AnOutputOperationHandler
for theDeleteElements
operation on theMapStore
. Returns a string of how many elements have been deleted.
-
-
Constructor Summary
Constructors Constructor Description DeleteElementsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
doOperation(DeleteElements deleteElements, Context context, Store store)
Execute the givenOutput
operation.
-
-
-
Method Detail
-
doOperation
public Long doOperation(DeleteElements deleteElements, Context context, Store store)
Description copied from interface:OutputOperationHandler
Execute the givenOutput
operation.- Specified by:
doOperation
in interfaceOperationHandler<DeleteElements>
- Specified by:
doOperation
in interfaceOutputOperationHandler<DeleteElements,Long>
- Parameters:
deleteElements
- 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.
-
-