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>>
AnOperationHandler
for theForEach
Operation.
-
-
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 givenOutput
operation.
-
-
-
Method Detail
-
doOperation
public Iterable<? extends O> doOperation(ForEach<I,O> forEach, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandler
Execute the givenOutput
operation.- Specified by:
doOperation
in interfaceOperationHandler<I>
- Specified by:
doOperation
in interfaceOutputOperationHandler<I,O>
- Parameters:
forEach
- 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
-
-