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