| Modifier and Type | Field and Description |
|---|---|
static Class<Vertex<?,?,?>> |
GraphJobRunner.vertexClass |
| Modifier and Type | Method and Description |
|---|---|
Vertex<V,E,M> |
ListVerticesInfo.deserialize(byte[] serialized) |
Vertex<V,E,M> |
MapVerticesInfo.deserialize(V vertexID,
byte[] serialized) |
static <V extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> |
GraphJobRunner.newVertexInstance(Class<?> vertexClass) |
abstract Vertex<V,E,M> |
IDSkippingIterator.next() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Vertex<? extends org.apache.hadoop.io.Writable,? extends org.apache.hadoop.io.Writable,? extends org.apache.hadoop.io.Writable>> |
GraphJob.getVertexClass() |
| Modifier and Type | Method and Description |
|---|---|
void |
MapVerticesInfo.addVertex(Vertex<V,E,M> vertex) |
void |
OffHeapVerticesInfo.addVertex(Vertex<V,E,M> vertex) |
void |
VerticesInfo.addVertex(Vertex<V,E,M> vertex)
Add a vertex to the underlying structure.
|
void |
ListVerticesInfo.addVertex(Vertex<V,E,M> vertex) |
void |
DiskVerticesInfo.addVertex(Vertex<V,E,M> vertex) |
void |
MapVerticesInfo.finishVertexComputation(Vertex<V,E,M> vertex) |
void |
OffHeapVerticesInfo.finishVertexComputation(Vertex<V,E,M> vertex) |
void |
VerticesInfo.finishVertexComputation(Vertex<V,E,M> vertex)
Must be called once a vertex is guaranteed not to change any more and can
safely be persisted to a secondary storage.
|
void |
ListVerticesInfo.finishVertexComputation(Vertex<V,E,M> vertex) |
void |
DiskVerticesInfo.finishVertexComputation(Vertex<V,E,M> vertex) |
abstract boolean |
VertexInputReader.parseVertex(KEYIN key,
VALUEIN value,
Vertex<V,E,M> vertex)
Parses a given key and value into the given vertex.
|
byte[] |
MapVerticesInfo.serialize(Vertex<V,E,M> vertex) |
byte[] |
ListVerticesInfo.serialize(Vertex<V,E,M> vertex) |
void |
VertexOutputWriter.write(Vertex<V,E,M> vertex,
BSPPeer<org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable,KEYOUT,VALUEOUT,GraphJobMessage> peer)
Write is called for every vertex in the list.
|
void |
DefaultVertexOutputWriter.write(Vertex<V,E,M> vertex,
BSPPeer<org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable,V,M,GraphJobMessage> peer) |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphJob.setVertexClass(Class<? extends Vertex<? extends org.apache.hadoop.io.Writable,? extends org.apache.hadoop.io.Writable,? extends org.apache.hadoop.io.Writable>> cls)
Set the Vertex class for the job.
|
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.