Class AbstractImportKeyValuePairRDDToAccumuloHandler<OP extends Operation>
- java.lang.Object
-
- uk.gov.gchq.gaffer.sparkaccumulo.operation.handler.AbstractImportKeyValuePairRDDToAccumuloHandler<OP>
-
- All Implemented Interfaces:
OperationHandler<OP>
- Direct Known Subclasses:
ImportKeyValueJavaPairRDDToAccumuloHandler,ImportKeyValuePairRDDToAccumuloHandler
public abstract class AbstractImportKeyValuePairRDDToAccumuloHandler<OP extends Operation> extends Object implements OperationHandler<OP>
-
-
Constructor Summary
Constructors Constructor Description AbstractImportKeyValuePairRDDToAccumuloHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoOperation(OP operation, Context context, AccumuloStore store)VoiddoOperation(OP operation, Context context, Store store)Execute the givenOperation.
-
-
-
Method Detail
-
doOperation
public Void doOperation(OP operation, Context context, Store store) throws OperationException
Description copied from interface:OperationHandlerExecute the givenOperation.- Specified by:
doOperationin interfaceOperationHandler<OP extends Operation>- Parameters:
operation- 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
-
doOperation
public void doOperation(OP operation, Context context, AccumuloStore store) throws OperationException
- Throws:
OperationException
-
-