A B C E F G H I M N O P R S T V W 

A

AbsDiffAggregator - Class in org.apache.hama.graph
A absolute difference aggregator, it collects values before the compute and after the compute, then calculates the difference and globally accumulates (sums them up) them.
AbsDiffAggregator() - Constructor for class org.apache.hama.graph.AbsDiffAggregator
 
AbstractAggregator<M extends org.apache.hadoop.io.Writable,VERTEX extends Vertex<?,?,M>> - Class in org.apache.hama.graph
Abstract base case of an aggregator.
AbstractAggregator() - Constructor for class org.apache.hama.graph.AbstractAggregator
 
addEdge(Edge<V, E>) - Method in class org.apache.hama.graph.Vertex
 
aggregate(Vertex<?, ?, DoubleWritable>, DoubleWritable, DoubleWritable) - Method in class org.apache.hama.graph.AbsDiffAggregator
 
aggregate(Vertex<?, ?, DoubleWritable>, DoubleWritable) - Method in class org.apache.hama.graph.AbsDiffAggregator
 
aggregate(VERTEX, M) - Method in class org.apache.hama.graph.AbstractAggregator
Observes a value of a vertex after the compute method.
aggregate(VERTEX, M, M) - Method in class org.apache.hama.graph.AbstractAggregator
Observes the old value of a vertex and the new value at the same time.
aggregate(VERTEX, M) - Method in interface org.apache.hama.graph.Aggregator
Observes a new vertex value.
aggregate(Vertex<?, ?, IntWritable>, IntWritable) - Method in class org.apache.hama.graph.MaxAggregator
 
aggregate(Vertex<?, ?, IntWritable>, IntWritable) - Method in class org.apache.hama.graph.MinAggregator
 
aggregate(Vertex<?, ?, DoubleWritable>, DoubleWritable) - Method in class org.apache.hama.graph.SumAggregator
 
Aggregator<M extends org.apache.hadoop.io.Writable,VERTEX extends Vertex<?,?,?>> - Interface in org.apache.hama.graph
Aggregators are a mechanism for global communication, monitoring, and data.
AGGREGATOR_CLASS_ATTR - Static variable in class org.apache.hama.graph.GraphJob
 
AverageAggregator - Class in org.apache.hama.graph
Averages the result of the AbsDiffAggregator.
AverageAggregator() - Constructor for class org.apache.hama.graph.AverageAggregator
 

B

bsp(BSPPeer<Writable, Writable, Writable, Writable, GraphJobMessage>) - Method in class org.apache.hama.graph.GraphJobRunner
 

C

cleanup(BSPPeer<Writable, Writable, Writable, Writable, GraphJobMessage>) - Method in class org.apache.hama.graph.GraphJobRunner
Just write pair as a result.
compute(Iterator<M>) - Method in interface org.apache.hama.graph.VertexInterface
The user-defined function

E

Edge<VERTEX_ID extends org.apache.hadoop.io.Writable,EDGE_VALUE_TYPE extends org.apache.hadoop.io.Writable> - Class in org.apache.hama.graph
The edge class
Edge(VERTEX_ID, EDGE_VALUE_TYPE) - Constructor for class org.apache.hama.graph.Edge
 
Edge(VERTEX_ID, String, EDGE_VALUE_TYPE) - Constructor for class org.apache.hama.graph.Edge
 
EDGE_VALUE_CLASS - Static variable in class org.apache.hama.graph.GraphJobMessage
 
equals(Object) - Method in class org.apache.hama.graph.Vertex
 

F

finalizeAggregation() - Method in class org.apache.hama.graph.AbstractAggregator
Finalizes the aggregation on a master task.
finalizeAggregation() - Method in class org.apache.hama.graph.AverageAggregator
 

G

getConf() - Method in class org.apache.hama.graph.Vertex
 
getDestinationPeerName() - Method in class org.apache.hama.graph.Edge
 
getDestinationVertexID() - Method in class org.apache.hama.graph.Edge
 
getEdges() - Method in class org.apache.hama.graph.Vertex
 
getEdges() - Method in interface org.apache.hama.graph.VertexInterface
 
getLastAggregatedValue(int) - Method in class org.apache.hama.graph.GraphJobRunner
 
getLastAggregatedValue(int) - Method in class org.apache.hama.graph.Vertex
Get the last aggregated value of the defined aggregator, null if nothing was configured or not returned a result.
getMap() - Method in class org.apache.hama.graph.GraphJobMessage
 
getMaxIteration() - Method in class org.apache.hama.graph.GraphJobRunner
 
getMaxIteration() - Method in class org.apache.hama.graph.Vertex
 
getNumberIterations() - Method in class org.apache.hama.graph.GraphJobRunner
 
getNumberVertices() - Method in class org.apache.hama.graph.GraphJobRunner
 
getNumLastAggregatedVertices(int) - Method in class org.apache.hama.graph.GraphJobRunner
 
getNumLastAggregatedVertices(int) - Method in class org.apache.hama.graph.Vertex
Get the number of aggregated vertices in the last superstep.
getNumPeers() - Method in class org.apache.hama.graph.Vertex
 
getNumVertices() - Method in class org.apache.hama.graph.Vertex
 
getNumVertices() - Method in interface org.apache.hama.graph.VertexInterface
 
getPartitioner() - Method in class org.apache.hama.graph.GraphJobRunner
 
getPartitioner() - Method in class org.apache.hama.graph.Vertex
 
getPeer() - Method in class org.apache.hama.graph.Vertex
Gives access to the BSP primitives and additional features by a peer.
getSuperstepCount() - Method in class org.apache.hama.graph.Vertex
 
getSuperstepCount() - Method in interface org.apache.hama.graph.VertexInterface
 
getTimesAggregated() - Method in class org.apache.hama.graph.AbstractAggregator
 
getValue() - Method in class org.apache.hama.graph.AbsDiffAggregator
 
getValue() - Method in class org.apache.hama.graph.AbstractAggregator
Gets the value of the aggregator.
getValue() - Method in interface org.apache.hama.graph.Aggregator
Gets a vertex value.
getValue() - Method in class org.apache.hama.graph.Edge
 
getValue() - Method in class org.apache.hama.graph.MaxAggregator
 
getValue() - Method in class org.apache.hama.graph.MinAggregator
 
getValue() - Method in class org.apache.hama.graph.SumAggregator
 
getValue() - Method in class org.apache.hama.graph.Vertex
 
getValue() - Method in interface org.apache.hama.graph.VertexInterface
Gets the vertex value
getVertex() - Method in class org.apache.hama.graph.GraphJobMessage
 
getVertexClass() - Method in class org.apache.hama.graph.GraphJob
 
getVertexId() - Method in class org.apache.hama.graph.GraphJobMessage
 
getVertexID() - Method in class org.apache.hama.graph.Vertex
 
getVertexID() - Method in interface org.apache.hama.graph.VertexInterface
 
getVertexValue() - Method in class org.apache.hama.graph.GraphJobMessage
 
GRAPH_REPAIR - Static variable in class org.apache.hama.graph.GraphJobRunner
 
GraphJob - Class in org.apache.hama.graph
 
GraphJob(HamaConfiguration, Class<?>) - Constructor for class org.apache.hama.graph.GraphJob
Creates a new Graph Job with the given configuration and an exampleClass.
GraphJobMessage - Class in org.apache.hama.graph
A message that is either MapWritable (for meta communication purposes) or a real message (vertex ID and value).
GraphJobMessage() - Constructor for class org.apache.hama.graph.GraphJobMessage
 
GraphJobMessage(MapWritable) - Constructor for class org.apache.hama.graph.GraphJobMessage
 
GraphJobMessage(Writable) - Constructor for class org.apache.hama.graph.GraphJobMessage
 
GraphJobMessage(Writable, Writable) - Constructor for class org.apache.hama.graph.GraphJobMessage
 
GraphJobMessage(Vertex<?, ?, ?>) - Constructor for class org.apache.hama.graph.GraphJobMessage
 
GraphJobRunner<V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> - Class in org.apache.hama.graph
Fully generic graph job runner.
GraphJobRunner() - Constructor for class org.apache.hama.graph.GraphJobRunner
 

H

hashCode() - Method in class org.apache.hama.graph.Vertex
 

I

isHalted() - Method in class org.apache.hama.graph.Vertex
 
isMapMessage() - Method in class org.apache.hama.graph.GraphJobMessage
 
isPartitioningMessage() - Method in class org.apache.hama.graph.GraphJobMessage
 
isRepairMessage() - Method in class org.apache.hama.graph.GraphJobMessage
 
isVertexMessage() - Method in class org.apache.hama.graph.GraphJobMessage
 

M

MAP_FLAG - Static variable in class org.apache.hama.graph.GraphJobMessage
 
MaxAggregator - Class in org.apache.hama.graph
 
MaxAggregator() - Constructor for class org.apache.hama.graph.MaxAggregator
 
MESSAGE_COMBINER_CLASS - Static variable in class org.apache.hama.graph.GraphJobRunner
 
MinAggregator - Class in org.apache.hama.graph
 
MinAggregator() - Constructor for class org.apache.hama.graph.MinAggregator
 

N

newVertexInstance(Class<?>, Configuration) - Static method in class org.apache.hama.graph.GraphJobRunner
 

O

org.apache.hama.graph - package org.apache.hama.graph
Pregel clone graph computing framework on top of Hama.

P

parseVertex(KEY_IN, VALUE_IN, Vertex<VERTEX_ID, EDGE_VALUE, VERTEX_VALUE>) - Method in class org.apache.hama.graph.VertexInputReader
Parses a given key and value into the given vertex.
PARTITION_FLAG - Static variable in class org.apache.hama.graph.GraphJobMessage
 

R

readFields(DataInput) - Method in class org.apache.hama.graph.GraphJobMessage
 
REPAIR_FLAG - Static variable in class org.apache.hama.graph.GraphJobMessage
 
runner - Variable in class org.apache.hama.graph.Vertex
 

S

sendMessage(Edge<V, E>, M) - Method in class org.apache.hama.graph.Vertex
 
sendMessage(V, M) - Method in class org.apache.hama.graph.Vertex
 
sendMessage(Edge<V, E>, M) - Method in interface org.apache.hama.graph.VertexInterface
Sends a message to another vertex.
sendMessage(V, M) - Method in interface org.apache.hama.graph.VertexInterface
Sends a message to the given destination vertex by ID and the message value
sendMessageToNeighbors(M) - Method in class org.apache.hama.graph.Vertex
 
sendMessageToNeighbors(M) - Method in interface org.apache.hama.graph.VertexInterface
Sends a message to neighbors
setAggregatorClass(Class<? extends Aggregator>) - Method in class org.apache.hama.graph.GraphJob
Set the aggregator for the job.
setAggregatorClass(Class<? extends Aggregator>...) - Method in class org.apache.hama.graph.GraphJob
Sets multiple aggregators for the job.
setCombinerClass(Class<? extends Combiner<? extends Writable>>) - Method in class org.apache.hama.graph.GraphJob
 
setEdges(List<Edge<V, E>>) - Method in class org.apache.hama.graph.Vertex
 
setEdgeValueClass(Class<? extends Writable>) - Method in class org.apache.hama.graph.GraphJob
Set the Edge value class for the job.
setMaxIteration(int) - Method in class org.apache.hama.graph.GraphJob
Sets how many iterations the algorithm should perform, -1 for deactivated is default value.
setPartitioner(Class<? extends Partitioner>) - Method in class org.apache.hama.graph.GraphJob
 
setup(BSPPeer<Writable, Writable, Writable, Writable, GraphJobMessage>) - Method in class org.apache.hama.graph.GraphJobRunner
 
setup(Configuration) - Method in class org.apache.hama.graph.Vertex
 
setup(Configuration) - Method in interface org.apache.hama.graph.VertexInterface
Used to setup a vertex.
setValue(M) - Method in class org.apache.hama.graph.Vertex
 
setValue(M) - Method in interface org.apache.hama.graph.VertexInterface
Sets the vertex value
setVertexClass(Class<? extends Vertex<? extends Writable, ? extends Writable, ? extends Writable>>) - Method in class org.apache.hama.graph.GraphJob
Set the Vertex class for the job.
setVertexID(V) - Method in class org.apache.hama.graph.Vertex
 
setVertexIDClass(Class<? extends Writable>) - Method in class org.apache.hama.graph.GraphJob
Set the Vertex ID class for the job.
setVertexInputReaderClass(Class<? extends VertexInputReader<?, ?, ?, ?, ?>>) - Method in class org.apache.hama.graph.GraphJob
Sets the input reader for parsing the input to vertices.
setVertexValueClass(Class<? extends Writable>) - Method in class org.apache.hama.graph.GraphJob
Set the Vertex value class for the job.
submit() - Method in class org.apache.hama.graph.GraphJob
 
SumAggregator - Class in org.apache.hama.graph
Sums all vertex values globally.
SumAggregator() - Constructor for class org.apache.hama.graph.SumAggregator
 

T

toString() - Method in class org.apache.hama.graph.Edge
 
toString() - Method in class org.apache.hama.graph.GraphJobMessage
 
toString() - Method in class org.apache.hama.graph.Vertex
 

V

Vertex<V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> - Class in org.apache.hama.graph
 
Vertex() - Constructor for class org.apache.hama.graph.Vertex
 
VERTEX_CLASS - Static variable in class org.apache.hama.graph.GraphJobMessage
 
VERTEX_CLASS_ATTR - Static variable in class org.apache.hama.graph.GraphJob
 
VERTEX_EDGE_VALUE_CLASS_ATTR - Static variable in class org.apache.hama.graph.GraphJob
 
VERTEX_FLAG - Static variable in class org.apache.hama.graph.GraphJobMessage
 
VERTEX_GRAPH_INPUT_READER - Static variable in class org.apache.hama.graph.GraphJob
 
VERTEX_GRAPH_RUNTIME_PARTIONING - Static variable in class org.apache.hama.graph.GraphJob
 
VERTEX_ID_CLASS - Static variable in class org.apache.hama.graph.GraphJobMessage
 
VERTEX_ID_CLASS_ATTR - Static variable in class org.apache.hama.graph.GraphJob
 
VERTEX_MESSAGE_COMBINER_CLASS_ATTR - Static variable in class org.apache.hama.graph.GraphJob
 
VERTEX_VALUE_CLASS - Static variable in class org.apache.hama.graph.GraphJobMessage
 
VERTEX_VALUE_CLASS_ATTR - Static variable in class org.apache.hama.graph.GraphJob
 
VertexInputReader<KEY_IN extends org.apache.hadoop.io.Writable,VALUE_IN extends org.apache.hadoop.io.Writable,VERTEX_ID extends org.apache.hadoop.io.Writable,EDGE_VALUE extends org.apache.hadoop.io.Writable,VERTEX_VALUE extends org.apache.hadoop.io.Writable> - Class in org.apache.hama.graph
A reader to read Hama's input files and parses a vertex out of it.
VertexInputReader() - Constructor for class org.apache.hama.graph.VertexInputReader
 
VertexInterface<V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> - Interface in org.apache.hama.graph
The vertex interface.
voteToHalt() - Method in class org.apache.hama.graph.Vertex
 
voteToHalt() - Method in interface org.apache.hama.graph.VertexInterface
Vote to halt.

W

write(DataOutput) - Method in class org.apache.hama.graph.GraphJobMessage
 
A B C E F G H I M N O P R S T V W 

Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.