Class GetJobResultsHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.job.GetJobResultsHandler
-
- All Implemented Interfaces:
OperationHandler<GetJobResults>,OutputOperationHandler<GetJobResults,Iterable<?>>
public class GetJobResultsHandler extends Object implements OutputOperationHandler<GetJobResults,Iterable<?>>
AGetJobResultsHandlerhandlesGetJobResultsoperations by querying the configured store's job tracker for the required job results.
-
-
Constructor Summary
Constructors Constructor Description GetJobResultsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<?>doOperation(GetJobResults operation, Context context, Store store)Execute the givenOutputoperation.
-
-
-
Method Detail
-
doOperation
public Iterable<?> doOperation(GetJobResults operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandlerExecute the givenOutputoperation.- Specified by:
doOperationin interfaceOperationHandler<GetJobResults>- Specified by:
doOperationin interfaceOutputOperationHandler<GetJobResults,Iterable<?>>- 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
-
-