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 givenOutput
operation.
-
-
-
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:OutputOperationHandler
Execute the givenOutput
operation.- Specified by:
doOperation
in interfaceOperationHandler<InputOutput<Iterable<? extends Element>,Iterable<? extends Element>>>
- Specified by:
doOperation
in interfaceOutputOperationHandler<InputOutput<Iterable<? extends Element>,Iterable<? extends Element>>,Iterable<? extends Element>>
- 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
-
-