public interface InputRDD
InputFormatRDD is a type of InputRDD that simply uses the specified org.apache.hadoop.mapreduce.InputFormat to generate the respective graphRDD.| Modifier and Type | Method and Description |
|---|---|
<any> |
readGraphRDD(Configuration configuration,
JavaSparkContext sparkContext)
Read the graphRDD from the underlying graph system.
|
default <K,V> <any> |
readMemoryRDD(Configuration configuration,
String memoryKey,
JavaSparkContext sparkContext)
Read a memoryRDD from the storage location.
|
<any> readGraphRDD(Configuration configuration,
JavaSparkContext sparkContext)
configuration - the configuration for the SparkGraphComputersparkContext - the Spark context with the requisite methods for generating a JavaPairRDDdefault <K,V> <any> readMemoryRDD(Configuration configuration,
String memoryKey,
JavaSparkContext sparkContext)
K - the key class of the memoryRDDV - the value class of the memoryRDDconfiguration - the configuration for the SparkGraphComputermemoryKey - the memory key of the memoryRDDsparkContext - the Spark context with the requisite methods for generating a JavaPairRDDCopyright © 2013–2017 Apache Software Foundation. All rights reserved.