Class ToEntitySeedsHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.output.ToEntitySeedsHandler
-
- All Implemented Interfaces:
OperationHandler<ToEntitySeeds>
,OutputOperationHandler<ToEntitySeeds,Iterable<? extends EntitySeed>>
public class ToEntitySeedsHandler extends Object implements OutputOperationHandler<ToEntitySeeds,Iterable<? extends EntitySeed>>
TheToEntitySeedsHandler
handlesToEntitySeeds
operations by wrapping each object in the inputIterable
in anEntitySeed
object.
-
-
Constructor Summary
Constructors Constructor Description ToEntitySeedsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<EntitySeed>
doOperation(ToEntitySeeds operation, Context context, Store store)
Execute the givenOutput
operation.
-
-
-
Method Detail
-
doOperation
public Iterable<EntitySeed> doOperation(ToEntitySeeds operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandler
Execute the givenOutput
operation.- Specified by:
doOperation
in interfaceOperationHandler<ToEntitySeeds>
- Specified by:
doOperation
in interfaceOutputOperationHandler<ToEntitySeeds,Iterable<? extends EntitySeed>>
- 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
-
-