Class

net.sansa_stack.rdf.spark.partition.graph.algo

PathPartition

Related Doc: package algo

Permalink

class PathPartition[VD, ED] extends PartitionAlgo[VD, ED] with Serializable

Path Partition Strategy expand the partitions by assign path groups of all start vertices Expand Edges set E+(i) = pg(sv*).edges

VD

the vertex attribute associated with each vertex in the set.

ED

the edge attribute associated with each edge in the set.

Linear Supertypes
PartitionAlgo[VD, ED], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PathPartition
  2. PartitionAlgo
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PathPartition(graph: Graph[VD, ED], session: SparkSession, numPartitions: Int)(implicit arg0: ClassTag[VD], arg1: ClassTag[ED])

    Permalink

    Constructs a default instance with default parameters {numIterations: 5}

  2. new PathPartition(graph: Graph[VD, ED], session: SparkSession)(implicit arg0: ClassTag[VD], arg1: ClassTag[ED])

    Permalink

    Constructs a default instance with default parameters {numPartitions: graph partitions, numIterations: 5}

  3. new PathPartition(graph: Graph[VD, ED], session: SparkSession, numPartitions: PartitionID, numIterations: Int)(implicit arg0: ClassTag[VD], arg1: ClassTag[ED])

    Permalink

    graph

    target graph to be partitioned

    session

    spark session

    numPartitions

    number of partitions

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. val graph: Graph[VD, ED]

    Permalink

    target graph to be partitioned

    target graph to be partitioned

    Definition Classes
    PathPartitionPartitionAlgo
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. val numPartitions: PartitionID

    Permalink

    number of partitions

    number of partitions

    Definition Classes
    PathPartitionPartitionAlgo
  17. def partitionBy(): Graph[VD, ED]

    Permalink

    Repartition the edges in the graph and construct a new graph that partitioned by strategy with input number of partitions.

    Repartition the edges in the graph and construct a new graph that partitioned by strategy with input number of partitions.

    Definition Classes
    PathPartitionPartitionAlgo
  18. val paths: Paths[VD, ED]

    Permalink
  19. val session: SparkSession

    Permalink

    spark session

    spark session

    Definition Classes
    PathPartitionPartitionAlgo
  20. def setNumIterations(numIterations: Int): PathPartition.this.type

    Permalink

    Sets the number of iterations (default: 5)

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PartitionAlgo[VD, ED]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped