Constructor and Description |
---|
PersistedInputRDD() |
Modifier and Type | Method and Description |
---|---|
<any> |
readGraphRDD(Configuration configuration,
JavaSparkContext sparkContext)
Read the graphRDD from the underlying graph system.
|
<K,V> <any> |
readMemoryRDD(Configuration configuration,
String memoryKey,
JavaSparkContext sparkContext)
Read a memoryRDD from the storage location.
|
public <any> readGraphRDD(Configuration configuration, JavaSparkContext sparkContext)
InputRDD
readGraphRDD
in interface InputRDD
configuration
- the configuration for the SparkGraphComputer
sparkContext
- the Spark context with the requisite methods for generating a JavaPairRDD
public <K,V> <any> readMemoryRDD(Configuration configuration, String memoryKey, JavaSparkContext sparkContext)
InputRDD
readMemoryRDD
in interface InputRDD
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–2022 Apache Software Foundation. All rights reserved.