Class FederatedDelegateToHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.federatedstore.operation.handler.FederatedDelegateToHandler
-
- All Implemented Interfaces:
OperationHandler<InputOutput<Iterable<? extends Element>,Iterable<? extends Element>>>,OutputOperationHandler<InputOutput<Iterable<? extends Element>,Iterable<? extends Element>>,Iterable<? extends Element>>
public class FederatedDelegateToHandler extends Object implements OutputOperationHandler<InputOutput<Iterable<? extends Element>,Iterable<? extends Element>>,Iterable<? extends Element>>
-
-
Constructor Summary
Constructors Constructor Description FederatedDelegateToHandler(OutputOperationHandler<? extends InputOutput<Iterable<? extends Element>,Iterable<? extends Element>>,Iterable<? extends Element>> handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<? extends Element>doOperation(InputOutput<Iterable<? extends Element>,Iterable<? extends Element>> operation, Context context, Store store)Execute the givenOutputoperation.
-
-
-
Constructor Detail
-
FederatedDelegateToHandler
public FederatedDelegateToHandler(OutputOperationHandler<? extends InputOutput<Iterable<? extends Element>,Iterable<? extends Element>>,Iterable<? extends Element>> handler)
-
-
Method Detail
-
doOperation
public Iterable<? extends Element> doOperation(InputOutput<Iterable<? extends Element>,Iterable<? extends Element>> operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandlerExecute the givenOutputoperation.- Specified by:
doOperationin interfaceOperationHandler<InputOutput<Iterable<? extends Element>,Iterable<? extends Element>>>- Specified by:
doOperationin interfaceOutputOperationHandler<InputOutput<Iterable<? extends Element>,Iterable<? extends Element>>,Iterable<? extends Element>>- 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
-
-