Skip to content

Commit

Permalink
Mark (Vertex|Edge)RDDImpl constructors package-private
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurdave committed Oct 9, 2014
1 parent 620e603 commit 9ba4ec4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import org.apache.spark.storage.StorageLevel

import org.apache.spark.graphx._

class EdgeRDDImpl[@specialized ED: ClassTag, VD: ClassTag](
class EdgeRDDImpl[@specialized ED: ClassTag, VD: ClassTag] private[graphx] (
override val partitionsRDD: RDD[(PartitionID, EdgePartition[ED, VD])],
val targetStorageLevel: StorageLevel = StorageLevel.MEMORY_ONLY)
extends RDD[Edge[ED]](partitionsRDD.context, List(new OneToOneDependency(partitionsRDD)))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import org.apache.spark.graphx._
import org.apache.spark.graphx.impl.RoutingTableMessageRDDFunctions._
import org.apache.spark.graphx.impl.VertexRDDFunctions._

class VertexRDDImpl[@specialized VD](
class VertexRDDImpl[@specialized VD] private[graphx] (
val partitionsRDD: RDD[ShippableVertexPartition[VD]],
val targetStorageLevel: StorageLevel = StorageLevel.MEMORY_ONLY)
(implicit override protected val vdTag: ClassTag[VD])
Expand Down

0 comments on commit 9ba4ec4

Please sign in to comment.