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 Boolean
doOperation(RemoveGraph operation, Context context, Store store)
Execute the givenOutput
operation.
-
-
-
Method Detail
-
doOperation
public Boolean doOperation(RemoveGraph operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandler
Execute the givenOutput
operation.- Specified by:
doOperation
in interfaceOperationHandler<RemoveGraph>
- Specified by:
doOperation
in interfaceOutputOperationHandler<RemoveGraph,Boolean>
- Overrides:
doOperation
in classFederatedRemoveGraphHandler
- 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
-
-