public class VertexPartition<VD> extends VertexPartitionBase<VD>
Modifier and Type | Class and Description |
---|---|
static class |
VertexPartition.VertexPartitionOpsConstructor$
Implicit evidence that
VertexPartition is a member of the VertexPartitionBaseOpsConstructor
typeclass. |
Constructor and Description |
---|
VertexPartition(org.apache.spark.util.collection.OpenHashSet<Object> index,
Object values,
org.apache.spark.util.collection.BitSet mask,
scala.reflect.ClassTag<VD> evidence$4) |
Modifier and Type | Method and Description |
---|---|
static <VD> VertexPartition<VD> |
apply(scala.collection.Iterator<scala.Tuple2<Object,VD>> iter,
scala.reflect.ClassTag<VD> evidence$1)
Construct a `VertexPartition` from the given vertices.
|
org.apache.spark.util.collection.OpenHashSet<Object> |
index() |
org.apache.spark.util.collection.BitSet |
mask() |
static <VD> VertexPartitionOps<VD> |
partitionToOps(VertexPartition<VD> partition,
scala.reflect.ClassTag<VD> evidence$2)
Implicit conversion to allow invoking
VertexPartitionBase operations directly on a
VertexPartition . |
Object |
values() |
public VertexPartition(org.apache.spark.util.collection.OpenHashSet<Object> index, Object values, org.apache.spark.util.collection.BitSet mask, scala.reflect.ClassTag<VD> evidence$4)
public static <VD> VertexPartition<VD> apply(scala.collection.Iterator<scala.Tuple2<Object,VD>> iter, scala.reflect.ClassTag<VD> evidence$1)
public static <VD> VertexPartitionOps<VD> partitionToOps(VertexPartition<VD> partition, scala.reflect.ClassTag<VD> evidence$2)
VertexPartitionBase
operations directly on a
VertexPartition
.public org.apache.spark.util.collection.OpenHashSet<Object> index()
index
in class VertexPartitionBase<VD>
public Object values()
values
in class VertexPartitionBase<VD>
public org.apache.spark.util.collection.BitSet mask()
mask
in class VertexPartitionBase<VD>