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