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