| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAggregator<M extends org.apache.hadoop.io.Writable,VERTEX extends Vertex<?,?,M>>
Abstract base case of an aggregator.
|
interface |
Aggregator<M extends org.apache.hadoop.io.Writable,VERTEX extends Vertex<?,?,?>>
Aggregators are a mechanism for global communication, monitoring, and data.
|
| Modifier and Type | Field and Description |
|---|---|
static Class<Vertex<?,?,?>> |
GraphJobRunner.vertexClass |
| Modifier and Type | Method and Description |
|---|---|
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 |
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 |
SumAggregator.aggregate(Vertex<?,?,org.apache.hadoop.io.DoubleWritable> vertex,
org.apache.hadoop.io.DoubleWritable value) |
void |
AbsDiffAggregator.aggregate(Vertex<?,?,org.apache.hadoop.io.DoubleWritable> vertex,
org.apache.hadoop.io.DoubleWritable value) |
void |
AbsDiffAggregator.aggregate(Vertex<?,?,org.apache.hadoop.io.DoubleWritable> v,
org.apache.hadoop.io.DoubleWritable oldValue,
org.apache.hadoop.io.DoubleWritable newValue) |
void |
MaxAggregator.aggregate(Vertex<?,?,org.apache.hadoop.io.IntWritable> vertex,
org.apache.hadoop.io.IntWritable value) |
void |
MinAggregator.aggregate(Vertex<?,?,org.apache.hadoop.io.IntWritable> vertex,
org.apache.hadoop.io.IntWritable value) |
void |
AggregationRunner.aggregateVertex(M lastValue,
Vertex<V,E,M> v)
Aggregates the last value before computation and the value after the
computation.
|
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.
|
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-2013 The Apache Software Foundation. All Rights Reserved.