- 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 handleExport
operations.
-
-
Constructor Summary
Constructors Constructor Description ExportOperationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
doOperation(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:OperationHandler
Execute the givenOperation
.- Specified by:
doOperation
in interfaceOperationHandler<EXPORT extends Export & Operation>
- Parameters:
export
- theOperation
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 or null.
- Throws:
OperationException
- thrown if the operation fails
-
-