Class AbstractGetRDDHandler<OP extends Output<O> & GraphFilters,O>
- java.lang.Object
-
- uk.gov.gchq.gaffer.sparkaccumulo.operation.handler.AbstractGetRDDHandler<OP,O>
-
- All Implemented Interfaces:
OperationHandler<OP>,OutputOperationHandler<OP,O>
- Direct Known Subclasses:
GetJavaRDDOfAllElementsHandler,GetJavaRDDOfElementsHandler,GetJavaRDDOfElementsInRangesHandler,GetRDDOfAllElementsHandler,GetRDDOfElementsHandler,GetRDDOfElementsInRangesHandler
public abstract class AbstractGetRDDHandler<OP extends Output<O> & GraphFilters,O> extends Object implements OutputOperationHandler<OP,O>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractGetRDDHandler.FirstElement
-
Field Summary
Fields Modifier and Type Field Description static StringHADOOP_CONFIGURATION_KEYstatic StringUSE_BATCH_SCANNER_RDDstatic StringUSE_RFILE_READER_RDDstatic StringVIEW
-
Constructor Summary
Constructors Constructor Description AbstractGetRDDHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddIterators(AccumuloStore accumuloStore, org.apache.hadoop.conf.Configuration conf, User user, OP operation)<INPUT_OP extends Operation & GraphFilters & Input<Iterable<? extends ElementId>>>
voidaddRanges(AccumuloStore accumuloStore, org.apache.hadoop.conf.Configuration conf, INPUT_OP operation)<INPUT_OP extends Operation & GraphFilters & Input<Iterable<? extends Pair<? extends ElementId,? extends ElementId>>>>
voidaddRangesFromPairs(AccumuloStore accumuloStore, org.apache.hadoop.conf.Configuration conf, INPUT_OP operation)static StringconvertConfigurationToString(org.apache.hadoop.conf.Configuration conf)static org.apache.hadoop.conf.ConfigurationconvertStringToConfiguration(String encodedConf)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface uk.gov.gchq.gaffer.store.operation.handler.OutputOperationHandler
doOperation
-
-
-
-
Field Detail
-
HADOOP_CONFIGURATION_KEY
public static final String HADOOP_CONFIGURATION_KEY
- See Also:
- Constant Field Values
-
USE_RFILE_READER_RDD
public static final String USE_RFILE_READER_RDD
- See Also:
- Constant Field Values
-
VIEW
public static final String VIEW
- See Also:
- Constant Field Values
-
USE_BATCH_SCANNER_RDD
public static final String USE_BATCH_SCANNER_RDD
- See Also:
- Constant Field Values
-
-
Method Detail
-
addIterators
public void addIterators(AccumuloStore accumuloStore, org.apache.hadoop.conf.Configuration conf, User user, OP operation) throws OperationException
- Throws:
OperationException
-
addRanges
public <INPUT_OP extends Operation & GraphFilters & Input<Iterable<? extends ElementId>>> void addRanges(AccumuloStore accumuloStore, org.apache.hadoop.conf.Configuration conf, INPUT_OP operation) throws OperationException
- Throws:
OperationException
-
addRangesFromPairs
public <INPUT_OP extends Operation & GraphFilters & Input<Iterable<? extends Pair<? extends ElementId,? extends ElementId>>>> void addRangesFromPairs(AccumuloStore accumuloStore, org.apache.hadoop.conf.Configuration conf, INPUT_OP operation) throws OperationException
- Throws:
OperationException
-
convertConfigurationToString
public static String convertConfigurationToString(org.apache.hadoop.conf.Configuration conf) throws IOException
- Throws:
IOException
-
convertStringToConfiguration
public static org.apache.hadoop.conf.Configuration convertStringToConfiguration(String encodedConf) throws IOException
- Throws:
IOException
-
-