Skip to content

Commit 188665f

Browse files
committed
improved documentation
1 parent 235738c commit 188665f

File tree

1 file changed

+4
-2
lines changed
  • graphx/src/main/scala/org/apache/spark/graphx

1 file changed

+4
-2
lines changed

graphx/src/main/scala/org/apache/spark/graphx/Graph.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,14 @@ abstract class Graph[VD: ClassTag, ED: ClassTag] protected () extends Serializab
105105
def checkpoint(): Unit
106106

107107
/**
108-
* Return whether this Graph has been checkpointed or not
108+
* Return whether this Graph has been checkpointed or not.
109+
* This returns true iff both the vertices RDD and edges RDD have been checkpointed.
109110
*/
110111
def isCheckpointed: Boolean
111112

112113
/**
113-
* Gets the name of the files to which this Graph was checkpointed
114+
* Gets the name of the files to which this Graph was checkpointed.
115+
* (The vertices RDD and edges RDD are checkpointed separately.)
114116
*/
115117
def getCheckpointFiles: Seq[String]
116118

0 commit comments

Comments
 (0)