Class FederatedRemoveGraphHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.federatedstore.operation.handler.impl.FederatedRemoveGraphHandler
-
- All Implemented Interfaces:
OperationHandler<RemoveGraph>
,OutputOperationHandler<RemoveGraph,Boolean>
- Direct Known Subclasses:
FederatedRemoveGraphAndDeleteAllDataHandler
public class FederatedRemoveGraphHandler extends Object implements OutputOperationHandler<RemoveGraph,Boolean>
A handler for RemoveGraph operation for the FederatedStore.Does not delete the graph, just removes it from the scope of the FederatedStore.
- See Also:
FederatedStore
,RemoveGraph
-
-
Constructor Summary
Constructors Constructor Description FederatedRemoveGraphHandler()
-
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>
- 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
-
-