Class FederatedRemoveGraphAndDeleteAllDataHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.federatedstore.operation.handler.impl.FederatedRemoveGraphHandler
-
- uk.gov.gchq.gaffer.federatedstore.operation.handler.impl.FederatedRemoveGraphAndDeleteAllDataHandler
-
- All Implemented Interfaces:
OperationHandler<RemoveGraph>,OutputOperationHandler<RemoveGraph,Boolean>
public class FederatedRemoveGraphAndDeleteAllDataHandler extends FederatedRemoveGraphHandler
A handler for RemoveGraph operation for the FederatedStore. If the sub-graph supports DeleteAllData, then the data will be deleted.- See Also:
FederatedStore,RemoveGraph
-
-
Constructor Summary
Constructors Constructor Description FederatedRemoveGraphAndDeleteAllDataHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleandoOperation(RemoveGraph operation, Context context, Store store)Execute the givenOutputoperation.
-
-
-
Method Detail
-
doOperation
public Boolean doOperation(RemoveGraph operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandlerExecute the givenOutputoperation.- Specified by:
doOperationin interfaceOperationHandler<RemoveGraph>- Specified by:
doOperationin interfaceOutputOperationHandler<RemoveGraph,Boolean>- Overrides:
doOperationin classFederatedRemoveGraphHandler- Parameters:
operation- 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.
- Throws:
OperationException- thrown if the operation fails
-
-