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>
AnOutputOperationHandlerfor theDeleteElementsoperation 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 LongdoOperation(DeleteElements deleteElements, Context context, Store store)Execute the givenOutputoperation.
-
-
-
Method Detail
-
doOperation
public Long doOperation(DeleteElements deleteElements, Context context, Store store)
Description copied from interface:OutputOperationHandlerExecute the givenOutputoperation.- Specified by:
doOperationin interfaceOperationHandler<DeleteElements>- Specified by:
doOperationin interfaceOutputOperationHandler<DeleteElements,Long>- Parameters:
deleteElements- theOutputoperation to be executedcontext- the operation chain context, containing the user who executed the operationstore- theStorethe operation should be run on- Returns:
- the output for the operation.
-
-