- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.export.ExportOperationHandler<EXPORT,EXPORTER>
-
- All Implemented Interfaces:
OperationHandler<EXPORT>
- Direct Known Subclasses:
ExportToHandler,GetExportHandler
public abstract class ExportOperationHandler<EXPORT extends Export & Operation,EXPORTER extends Exporter> extends Object implements OperationHandler<EXPORT>
Abstract class describing how to handleExportoperations.
-
-
Constructor Summary
Constructors Constructor Description ExportOperationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectdoOperation(EXPORT export, Context context, Store store)Execute the givenOperation.
-
-
-
Method Detail
-
doOperation
public Object doOperation(EXPORT export, Context context, Store store) throws OperationException
Description copied from interface:OperationHandlerExecute the givenOperation.- Specified by:
doOperationin interfaceOperationHandler<EXPORT extends Export & Operation>- Parameters:
export- theOperationto 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 or null.
- Throws:
OperationException- thrown if the operation fails
-
-