public interface InputRDD
InputFormatRDD
is a type of InputRDD that simply uses the specified 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 SparkGraphComputer
sparkContext
- the Spark context with the requisite methods for generating a JavaPairRDD
default <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 SparkGraphComputer
memoryKey
- the memory key of the memoryRDDsparkContext
- the Spark context with the requisite methods for generating a JavaPairRDD
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.