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 void
doOperation(OP operation, Context context, AccumuloStore store)
Void
doOperation(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:OperationHandler
Execute the givenOperation
.- Specified by:
doOperation
in interfaceOperationHandler<OP extends Operation>
- Parameters:
operation
- 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
-
doOperation
public void doOperation(OP operation, Context context, AccumuloStore store) throws OperationException
- Throws:
OperationException
-
-