Class

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

SubjectHashPartition

Related Doc: package algo

Permalink

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

Expanding the partitions by assigning subject triple group of each vertex to partitions

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. SubjectHashPartition
  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 SubjectHashPartition(graph: Graph[VD, ED], session: SparkSession, numPartitions: Int)(implicit arg0: ClassTag[VD], arg1: ClassTag[ED])

    Permalink

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

  2. new SubjectHashPartition(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: 2}

  3. new SubjectHashPartition(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

    numIterations

    number of iterations

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
    SubjectHashPartitionPartitionAlgo
  11. val groups: Groups[VD, ED]

    Permalink
  12. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. val numPartitions: PartitionID

    Permalink

    number of partitions

    number of partitions

    Definition Classes
    SubjectHashPartitionPartitionAlgo
  18. 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
    SubjectHashPartitionPartitionAlgo
  19. val session: SparkSession

    Permalink

    spark session

    spark session

    Definition Classes
    SubjectHashPartitionPartitionAlgo
  20. def setNumIterations(numIterations: Int): SubjectHashPartition.this.type

    Permalink

    Sets the number of iterations (default: 2)

  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