-
- Downloads
[SPARK-6510][GraphX]: Add Graph#minus method to act as Set#difference
Adds a `Graph#minus` method which will return only unique `VertexId`'s from the calling `VertexRDD`. To demonstrate a basic example with pseudocode: ``` Set((0L,0),(1L,1)).minus(Set((1L,1),(2L,2))) > Set((0L,0)) ``` Author: Brennon York <brennon.york@capitalone.com> Closes #5175 from brennonyork/SPARK-6510 and squashes the following commits: 248d5c8 [Brennon York] added minus(VertexRDD[VD]) method to avoid createUsingIndex and updated the mask operations to simplify with andNot call 3fb7cce [Brennon York] updated graphx doc to reflect the addition of minus method 6575d92 [Brennon York] updated mima exclude aaa030b [Brennon York] completed graph#minus functionality 7227c0f [Brennon York] beginning work on minus functionality
Showing
- docs/graphx-programming-guide.md 2 additions, 0 deletionsdocs/graphx-programming-guide.md
- graphx/src/main/scala/org/apache/spark/graphx/VertexRDD.scala 16 additions, 0 deletions...hx/src/main/scala/org/apache/spark/graphx/VertexRDD.scala
- graphx/src/main/scala/org/apache/spark/graphx/impl/VertexPartitionBaseOps.scala 15 additions, 0 deletions...org/apache/spark/graphx/impl/VertexPartitionBaseOps.scala
- graphx/src/main/scala/org/apache/spark/graphx/impl/VertexRDDImpl.scala 25 additions, 0 deletions...in/scala/org/apache/spark/graphx/impl/VertexRDDImpl.scala
- graphx/src/test/scala/org/apache/spark/graphx/VertexRDDSuite.scala 31 additions, 2 deletions...c/test/scala/org/apache/spark/graphx/VertexRDDSuite.scala
- project/MimaExcludes.scala 3 additions, 0 deletionsproject/MimaExcludes.scala
Loading
Please register or sign in to comment