Class GetJavaRDDOfElementsInRangesHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.sparkaccumulo.operation.handler.AbstractGetRDDHandler<GetJavaRDDOfElementsInRanges,org.apache.spark.api.java.JavaRDD<Element>>
-
- uk.gov.gchq.gaffer.sparkaccumulo.operation.handler.javardd.GetJavaRDDOfElementsInRangesHandler
-
- All Implemented Interfaces:
OperationHandler<GetJavaRDDOfElementsInRanges>
,OutputOperationHandler<GetJavaRDDOfElementsInRanges,org.apache.spark.api.java.JavaRDD<Element>>
public class GetJavaRDDOfElementsInRangesHandler extends AbstractGetRDDHandler<GetJavaRDDOfElementsInRanges,org.apache.spark.api.java.JavaRDD<Element>>
-
-
Field Summary
-
Fields inherited from class uk.gov.gchq.gaffer.sparkaccumulo.operation.handler.AbstractGetRDDHandler
HADOOP_CONFIGURATION_KEY, USE_BATCH_SCANNER_RDD, USE_RFILE_READER_RDD, VIEW
-
-
Constructor Summary
Constructors Constructor Description GetJavaRDDOfElementsInRangesHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.spark.api.java.JavaRDD<Element>
doOperation(GetJavaRDDOfElementsInRanges operation, Context context, Store store)
Execute the givenOutput
operation.-
Methods inherited from class uk.gov.gchq.gaffer.sparkaccumulo.operation.handler.AbstractGetRDDHandler
addIterators, addRanges, addRangesFromPairs, convertConfigurationToString, convertStringToConfiguration
-
-
-
-
Method Detail
-
doOperation
public org.apache.spark.api.java.JavaRDD<Element> doOperation(GetJavaRDDOfElementsInRanges operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandler
Execute the givenOutput
operation.- Parameters:
operation
- theOutput
operation 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.
- Throws:
OperationException
- thrown if the operation fails
-
-