A B C D E F G H I L 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> - 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
 
addMessage(String, GraphJobMessage) - Method in class org.apache.hama.graph.OutgoingVertexMessagesManager
 
addVertex(Vertex<V, E, M>) - Method in class org.apache.hama.graph.DiskVerticesInfo
 
addVertex(Vertex<V, E, M>) - Method in class org.apache.hama.graph.ListVerticesInfo
 
addVertex(Vertex<V, E, M>) - Method in class org.apache.hama.graph.MapVerticesInfo
 
addVertex(Vertex<V, E, M>) - Method in class org.apache.hama.graph.OffHeapVerticesInfo
 
addVertex(V, List<Edge<V, E>>, M) - Method in class org.apache.hama.graph.Vertex
 
addVertex(V, List<Edge<V, E>>, M) - Method in interface org.apache.hama.graph.VertexInterface
Sends a message to add a new vertex through the partitioner to the appropriate BSP peer
addVertex(Vertex<V, E, M>) - Method in interface org.apache.hama.graph.VerticesInfo
Add a vertex to the underlying structure.
aggregate(DoubleWritable, DoubleWritable) - Method in class org.apache.hama.graph.AbsDiffAggregator
 
aggregate(DoubleWritable) - Method in class org.apache.hama.graph.AbsDiffAggregator
 
aggregate(M) - Method in class org.apache.hama.graph.AbstractAggregator
Observes a value of a vertex after the compute method.
aggregate(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(M) - Method in interface org.apache.hama.graph.Aggregator
Observes a new vertex value.
aggregate(IntWritable) - Method in class org.apache.hama.graph.MaxAggregator
 
aggregate(IntWritable) - Method in class org.apache.hama.graph.MinAggregator
 
aggregate(DoubleWritable) - Method in class org.apache.hama.graph.SumAggregator
 
aggregate(int, M) - Method in class org.apache.hama.graph.Vertex
 
aggregate(int, M) - Method in interface org.apache.hama.graph.VertexInterface
Provides a value to the specified aggregator.
aggregateVertex(int, M, M) - Method in class org.apache.hama.graph.AggregationRunner
Aggregates the last value before computation and the value after the computation.
AggregationRunner<V extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> - Class in org.apache.hama.graph
Runner class to do the tasks that need to be done if aggregation was configured.
AggregationRunner() - Constructor for class org.apache.hama.graph.AggregationRunner
 
Aggregator<M extends org.apache.hadoop.io.Writable> - 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(HamaConfiguration, TaskAttemptID) - Method in class org.apache.hama.graph.DiskVerticesInfo
 
cleanup(BSPPeer<Writable, Writable, Writable, Writable, GraphJobMessage>) - Method in class org.apache.hama.graph.GraphJobRunner
Just write pair as a result.
cleanup(HamaConfiguration, TaskAttemptID) - Method in class org.apache.hama.graph.ListVerticesInfo
 
cleanup(HamaConfiguration, TaskAttemptID) - Method in class org.apache.hama.graph.MapVerticesInfo
 
cleanup(HamaConfiguration, TaskAttemptID) - Method in class org.apache.hama.graph.OffHeapVerticesInfo
 
cleanup(HamaConfiguration, TaskAttemptID) - Method in interface org.apache.hama.graph.VerticesInfo
Cleanup of internal structures.
clear() - Method in class org.apache.hama.graph.ListVerticesInfo
 
clear() - Method in class org.apache.hama.graph.MapVerticesInfo
 
clear() - Method in class org.apache.hama.graph.OffHeapVerticesInfo
 
clear() - Method in class org.apache.hama.graph.OutgoingVertexMessagesManager
 
compare(byte[], int, int, byte[], int, int) - Method in class org.apache.hama.graph.GraphJobMessage.GraphJobMessageComparator
 
compareTo(GraphJobMessage) - Method in class org.apache.hama.graph.GraphJobMessage
 
compareTo(VertexInterface<V, E, M>) - Method in class org.apache.hama.graph.Vertex
 
compute(Iterable<M>) - Method in interface org.apache.hama.graph.VertexInterface
The user-defined function
convertRecord(KeyValuePair<Writable, Writable>, Configuration) - Method in class org.apache.hama.graph.VertexInputReader
 
createEdgeCostObject() - Static method in class org.apache.hama.graph.GraphJobRunner
 
createVertexIDObject() - Static method in class org.apache.hama.graph.GraphJobRunner
 
createVertexValue() - Static method in class org.apache.hama.graph.GraphJobRunner
 

D

DefaultVertexOutputWriter<V extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> - Class in org.apache.hama.graph
The VertexOutputWriter defines what parts of the vertex shall be written to the output format.
DefaultVertexOutputWriter() - Constructor for class org.apache.hama.graph.DefaultVertexOutputWriter
 
deserialize(byte[]) - Method in class org.apache.hama.graph.ListVerticesInfo
 
deserialize(V, byte[]) - Method in class org.apache.hama.graph.MapVerticesInfo
 
DISK_VERTICES_PATH_KEY - Static variable in class org.apache.hama.graph.DiskVerticesInfo
 
DiskVerticesInfo<V extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> - Class in org.apache.hama.graph
Stores the sorted vertices into a local file.
DiskVerticesInfo() - Constructor for class org.apache.hama.graph.DiskVerticesInfo
 
DM_BUFFERS - Static variable in class org.apache.hama.graph.OffHeapVerticesInfo
 
DM_CAPACITY - Static variable in class org.apache.hama.graph.OffHeapVerticesInfo
 
DM_CONCURRENCY - Static variable in class org.apache.hama.graph.OffHeapVerticesInfo
 
DM_DISPOSAL_TIME - Static variable in class org.apache.hama.graph.OffHeapVerticesInfo
 
DM_SERIALIZER - Static variable in class org.apache.hama.graph.OffHeapVerticesInfo
 
DM_SIZE - Static variable in class org.apache.hama.graph.OffHeapVerticesInfo
 
DM_SORTED - Static variable in class org.apache.hama.graph.OffHeapVerticesInfo
 
DM_STRICT_ITERATOR - Static variable in class org.apache.hama.graph.OffHeapVerticesInfo
 
doMasterAggregation(MapWritable) - Method in class org.apache.hama.graph.AggregationRunner
The method the master task does, it globally aggregates the values of each peer and updates the given map accordingly.

E

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

F

fastReadFields(DataInput) - Method in class org.apache.hama.graph.GraphJobMessage
 
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
 
finishAdditions() - Method in class org.apache.hama.graph.DiskVerticesInfo
 
finishAdditions() - Method in class org.apache.hama.graph.ListVerticesInfo
 
finishAdditions() - Method in class org.apache.hama.graph.MapVerticesInfo
 
finishAdditions() - Method in class org.apache.hama.graph.OffHeapVerticesInfo
 
finishAdditions() - Method in interface org.apache.hama.graph.VerticesInfo
Finish the additions, from this point on the implementations should close the adds and throw exceptions in case something is added after this call.
finishRemovals() - Method in class org.apache.hama.graph.DiskVerticesInfo
 
finishRemovals() - Method in class org.apache.hama.graph.ListVerticesInfo
 
finishRemovals() - Method in class org.apache.hama.graph.MapVerticesInfo
 
finishRemovals() - Method in class org.apache.hama.graph.OffHeapVerticesInfo
 
finishRemovals() - Method in interface org.apache.hama.graph.VerticesInfo
Finish the removals, from this point on the implementations should close the removes and throw exceptions in case something is removed after this call.
finishSuperstep() - Method in class org.apache.hama.graph.DiskVerticesInfo
 
finishSuperstep() - Method in class org.apache.hama.graph.ListVerticesInfo
 
finishSuperstep() - Method in class org.apache.hama.graph.MapVerticesInfo
 
finishSuperstep() - Method in class org.apache.hama.graph.OffHeapVerticesInfo
 
finishSuperstep() - Method in interface org.apache.hama.graph.VerticesInfo
Called once completed a superstep.
finishVertexComputation(Vertex<V, E, M>) - Method in class org.apache.hama.graph.DiskVerticesInfo
 
finishVertexComputation(Vertex<V, E, M>) - Method in class org.apache.hama.graph.ListVerticesInfo
 
finishVertexComputation(Vertex<V, E, M>) - Method in class org.apache.hama.graph.MapVerticesInfo
 
finishVertexComputation(Vertex<V, E, M>) - Method in class org.apache.hama.graph.OffHeapVerticesInfo
 
finishVertexComputation(Vertex<V, E, M>) - Method in interface org.apache.hama.graph.VerticesInfo
Must be called once a vertex is guaranteed not to change any more and can safely be persisted to a secondary storage.
FLAG_MESSAGE_COUNTS - Static variable in class org.apache.hama.graph.GraphJobRunner
 
FLAG_VERTEX_ALTER_COUNTER - Static variable in class org.apache.hama.graph.GraphJobRunner
 
FLAG_VERTEX_DECREASE - Static variable in class org.apache.hama.graph.GraphJobRunner
 
FLAG_VERTEX_INCREASE - Static variable in class org.apache.hama.graph.GraphJobRunner
 
FLAG_VERTEX_TOTAL_VERTICES - Static variable in class org.apache.hama.graph.GraphJobRunner
 

G

getAggregatedValue(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.
getAggregatedValue(int) - Method in interface org.apache.hama.graph.VertexInterface
Returns the value of the specified aggregator.
getAggregationRunner() - Method in class org.apache.hama.graph.GraphJobRunner
 
getBundleIterator() - Method in class org.apache.hama.graph.OutgoingVertexMessagesManager
 
getChangedVertexCnt() - Method in class org.apache.hama.graph.GraphJobRunner
 
getConf() - Method in class org.apache.hama.graph.Vertex
 
getDestinationPeerName(Edge<V, E>) - Method in class org.apache.hama.graph.Vertex
 
getDestinationPeerName(V) - Method in class org.apache.hama.graph.Vertex
 
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.AggregationRunner
 
getLastAggregatedValue(int) - Method in class org.apache.hama.graph.GraphJobRunner
Gets the last aggregated value at the given index.
getMap() - Method in class org.apache.hama.graph.GraphJobMessage
 
getMasterTask(BSPPeer<Writable, Writable, Writable, Writable, GraphJobMessage>) - Static method in class org.apache.hama.graph.GraphJobRunner
 
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.AggregationRunner
 
getNumLastAggregatedVertices(int) - Method in class org.apache.hama.graph.GraphJobRunner
Gets the last aggregated number of vertices at the given index.
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
 
getOverflowMessage() - Method in class org.apache.hama.graph.VertexMessageIterable
 
getPartitioner() - Method in class org.apache.hama.graph.GraphJobRunner
 
getPartitioner() - Method in class org.apache.hama.graph.Vertex
 
getPartitionId(KeyValuePair<Writable, Writable>, Partitioner, Configuration, BSPPeer, int) - Method in class org.apache.hama.graph.VertexInputReader
 
getPeer() - Method in class org.apache.hama.graph.GraphJobRunner
 
getPeer() - Method in class org.apache.hama.graph.Vertex
Gives access to the BSP primitives and additional features by a peer.
getRunner() - Method in class org.apache.hama.graph.Vertex
 
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
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
 
getVerticesSize() - Method in class org.apache.hama.graph.GraphJobMessage
 
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(WritableComparable<?>, Writable) - Constructor for class org.apache.hama.graph.GraphJobMessage
 
GraphJobMessage(IntWritable) - Constructor for class org.apache.hama.graph.GraphJobMessage
 
GraphJobMessage.GraphJobMessageComparator - Class in org.apache.hama.graph
 
GraphJobMessage.GraphJobMessageComparator() - Constructor for class org.apache.hama.graph.GraphJobMessage.GraphJobMessageComparator
 
GraphJobMessage.GraphJobMessageComparator(Class<? extends WritableComparable<?>>) - Constructor for class org.apache.hama.graph.GraphJobMessage.GraphJobMessageComparator
 
GraphJobMessage.GraphJobMessageComparator(Class<? extends WritableComparable<?>>, boolean) - Constructor for class org.apache.hama.graph.GraphJobMessage.GraphJobMessageComparator
 
GraphJobRunner<V extends org.apache.hadoop.io.WritableComparable,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
 
GraphJobRunner.GraphJobCounter - Enum in org.apache.hama.graph
 

H

hashCode() - Method in class org.apache.hama.graph.Vertex
 
hasNext() - Method in class org.apache.hama.graph.IDSkippingIterator
Skips nothing, accepts everything.
hasNext(V, IDSkippingIterator.Strategy) - Method in class org.apache.hama.graph.IDSkippingIterator
Skips until the given strategy is satisfied.

I

IDSkippingIterator<V extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> - Class in org.apache.hama.graph
Iterator that allows skipping of items on disk based on some given stategy.
IDSkippingIterator() - Constructor for class org.apache.hama.graph.IDSkippingIterator
 
init(GraphJobRunner<V, E, M>, HamaConfiguration, TaskAttemptID) - Method in class org.apache.hama.graph.DiskVerticesInfo
 
init(GraphJobRunner<V, E, M>, HamaConfiguration, TaskAttemptID) - Method in class org.apache.hama.graph.ListVerticesInfo
 
init(GraphJobRunner<V, E, M>, HamaConfiguration, TaskAttemptID) - Method in class org.apache.hama.graph.MapVerticesInfo
 
init(GraphJobRunner<V, E, M>, HamaConfiguration, TaskAttemptID) - Method in class org.apache.hama.graph.OffHeapVerticesInfo
 
init(HamaConfiguration, BSPMessageCompressor<GraphJobMessage>) - Method in class org.apache.hama.graph.OutgoingVertexMessagesManager
 
init(GraphJobRunner<V, E, M>, HamaConfiguration, TaskAttemptID) - Method in interface org.apache.hama.graph.VerticesInfo
Initialization of internal structures.
initClasses(Configuration) - Static method in class org.apache.hama.graph.GraphJobRunner
 
isEnabled() - Method in class org.apache.hama.graph.AggregationRunner
 
isHalted() - Method in class org.apache.hama.graph.Vertex
 
isMapMessage() - Method in class org.apache.hama.graph.GraphJobMessage
 
isMasterTask(BSPPeer<Writable, Writable, Writable, Writable, GraphJobMessage>) - Static method in class org.apache.hama.graph.GraphJobRunner
Checks if this is a master task.
isVertexMessage() - Method in class org.apache.hama.graph.GraphJobMessage
 
isVerticesSizeMessage() - Method in class org.apache.hama.graph.GraphJobMessage
 
iterator() - Method in class org.apache.hama.graph.VertexMessageIterable
 

L

ListVerticesInfo<V extends org.apache.hadoop.io.WritableComparable<V>,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> - Class in org.apache.hama.graph
Stores the serialized vertices into a memory-based list.
ListVerticesInfo() - Constructor for class org.apache.hama.graph.ListVerticesInfo
 
LOG - Static variable in class org.apache.hama.graph.OutgoingVertexMessagesManager
 

M

MAP_FLAG - Static variable in class org.apache.hama.graph.GraphJobMessage
 
MapVerticesInfo<V extends org.apache.hadoop.io.WritableComparable<V>,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> - Class in org.apache.hama.graph
Stores the vertices into a memory-based tree map.
MapVerticesInfo() - Constructor for class org.apache.hama.graph.MapVerticesInfo
 
masterReadAggregatedIncrementalValue(Text, M) - Method in class org.apache.hama.graph.AggregationRunner
Method to let the master read messages from peers and aggregate the incremental value.
masterReadAggregatedValue(Text, M) - Method in class org.apache.hama.graph.AggregationRunner
Method to let the master read messages from peers and aggregate a value.
MaxAggregator - Class in org.apache.hama.graph
 
MaxAggregator() - Constructor for class org.apache.hama.graph.MaxAggregator
 
MinAggregator - Class in org.apache.hama.graph
 
MinAggregator() - Constructor for class org.apache.hama.graph.MinAggregator
 

N

newVertexInstance(Class<?>) - Static method in class org.apache.hama.graph.GraphJobRunner
 
next() - Method in class org.apache.hama.graph.IDSkippingIterator
 

O

OffHeapVerticesInfo<V extends org.apache.hadoop.io.WritableComparable<?>,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> - Class in org.apache.hama.graph
An off heap version of a Vertex storage.
OffHeapVerticesInfo() - Constructor for class org.apache.hama.graph.OffHeapVerticesInfo
 
org.apache.hama.graph - package org.apache.hama.graph
Pregel clone graph computing framework on top of Hama.
OutgoingVertexMessagesManager<M extends org.apache.hadoop.io.Writable> - Class in org.apache.hama.graph
 
OutgoingVertexMessagesManager() - Constructor for class org.apache.hama.graph.OutgoingVertexMessagesManager
 

P

parseVertex(KEYIN, VALUEIN, Vertex<V, E, M>) - Method in class org.apache.hama.graph.VertexInputReader
Parses a given key and value into the given vertex.

R

readFields(DataInput) - Method in class org.apache.hama.graph.GraphJobMessage
 
readFields(DataInput) - Method in class org.apache.hama.graph.Vertex
 
readState(DataInput) - Method in class org.apache.hama.graph.Vertex
Read the state of the vertex from the input stream.
receiveAggregatedValues(MapWritable, long) - Method in class org.apache.hama.graph.AggregationRunner
Receives aggregated values from a master task.
remove() - Method in class org.apache.hama.graph.Vertex
 
remove() - Method in interface org.apache.hama.graph.VertexInterface
Removes current Vertex from local peer.
removeVertex(V) - Method in class org.apache.hama.graph.DiskVerticesInfo
 
removeVertex(V) - Method in class org.apache.hama.graph.ListVerticesInfo
 
removeVertex(V) - Method in class org.apache.hama.graph.MapVerticesInfo
 
removeVertex(V) - Method in class org.apache.hama.graph.OffHeapVerticesInfo
 
removeVertex(V) - Method in interface org.apache.hama.graph.VerticesInfo
Remove a vertex to the underlying structure.

S

S_FLAG_AGGREGATOR_INCREMENT - Static variable in class org.apache.hama.graph.GraphJobRunner
 
S_FLAG_AGGREGATOR_VALUE - Static variable in class org.apache.hama.graph.GraphJobRunner
 
S_FLAG_MESSAGE_COUNTS - Static variable in class org.apache.hama.graph.GraphJobRunner
 
S_FLAG_VERTEX_ALTER_COUNTER - Static variable in class org.apache.hama.graph.GraphJobRunner
 
S_FLAG_VERTEX_DECREASE - Static variable in class org.apache.hama.graph.GraphJobRunner
 
S_FLAG_VERTEX_INCREASE - Static variable in class org.apache.hama.graph.GraphJobRunner
 
S_FLAG_VERTEX_TOTAL_VERTICES - Static variable in class org.apache.hama.graph.GraphJobRunner
 
sendAggregatorValues(BSPPeer<Writable, Writable, Writable, Writable, GraphJobMessage>, int, int) - Method in class org.apache.hama.graph.AggregationRunner
Runs the aggregators by sending their values to the master task.
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
serialize(Vertex<V, E, M>) - Method in class org.apache.hama.graph.ListVerticesInfo
 
serialize(Vertex<V, E, M>) - Method in class org.apache.hama.graph.MapVerticesInfo
 
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.
setChangedVertexCnt(int) - Method in class org.apache.hama.graph.GraphJobRunner
 
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
 
setRunner(GraphJobRunner<V, E, M>) - Method in class org.apache.hama.graph.Vertex
 
setup(Configuration) - Method in class org.apache.hama.graph.DefaultVertexOutputWriter
 
setup(BSPPeer<Writable, Writable, Writable, Writable, GraphJobMessage>) - Method in class org.apache.hama.graph.GraphJobRunner
 
setup(HamaConfiguration) - Method in class org.apache.hama.graph.Vertex
 
setup(Configuration) - Method in class org.apache.hama.graph.VertexInputReader
 
setup(HamaConfiguration) - Method in interface org.apache.hama.graph.VertexInterface
This method is called once before the Vertex computation begins.
setup(Configuration) - Method in interface org.apache.hama.graph.VertexOutputWriter
Used to setup this output writer.
setupAggregators(BSPPeer<Writable, Writable, Writable, Writable, GraphJobMessage>) - Method in class org.apache.hama.graph.AggregationRunner
 
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.
setVertexOutputWriterClass(Class<? extends VertexOutputWriter>) - Method in class org.apache.hama.graph.GraphJob
Sets the output writer for materializing vertices to the output sink.
setVertexValueClass(Class<? extends Writable>) - Method in class org.apache.hama.graph.GraphJob
Set the Vertex value class for the job.
size() - Method in class org.apache.hama.graph.DiskVerticesInfo
 
size() - Method in class org.apache.hama.graph.ListVerticesInfo
 
size() - Method in class org.apache.hama.graph.MapVerticesInfo
 
size() - Method in class org.apache.hama.graph.OffHeapVerticesInfo
 
size() - Method in interface org.apache.hama.graph.VerticesInfo
 
skippingIterator() - Method in class org.apache.hama.graph.DiskVerticesInfo
 
skippingIterator() - Method in class org.apache.hama.graph.ListVerticesInfo
 
skippingIterator() - Method in class org.apache.hama.graph.MapVerticesInfo
 
skippingIterator() - Method in class org.apache.hama.graph.OffHeapVerticesInfo
 
skippingIterator() - Method in interface org.apache.hama.graph.VerticesInfo
 
startSuperstep() - Method in class org.apache.hama.graph.DiskVerticesInfo
 
startSuperstep() - Method in class org.apache.hama.graph.ListVerticesInfo
 
startSuperstep() - Method in class org.apache.hama.graph.MapVerticesInfo
 
startSuperstep() - Method in class org.apache.hama.graph.OffHeapVerticesInfo
 
startSuperstep() - Method in interface org.apache.hama.graph.VerticesInfo
Called once a superstep starts.
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.AbstractAggregator
 
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

valueOf(String) - Static method in enum org.apache.hama.graph.GraphJobRunner.GraphJobCounter
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.hama.graph.GraphJobRunner.GraphJobCounter
Returns an array containing the constants of this enum type, in the order they are declared.
Vertex<V extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> - Class in org.apache.hama.graph
Vertex is a abstract definition of Google Pregel Vertex.
Vertex() - Constructor for class org.apache.hama.graph.Vertex
 
VERTEX_CLASS - Static variable in class org.apache.hama.graph.GraphJobRunner
 
VERTEX_CLASS_ATTR - Static variable in class org.apache.hama.graph.GraphJob
 
VERTEX_CLASS_KEY - Static variable in class org.apache.hama.graph.GraphJobRunner
 
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_ID_CLASS - Static variable in class org.apache.hama.graph.GraphJobRunner
 
VERTEX_ID_CLASS_ATTR - Static variable in class org.apache.hama.graph.GraphJob
 
VERTEX_OUTPUT_WRITER_CLASS_ATTR - Static variable in class org.apache.hama.graph.GraphJob
 
VERTEX_VALUE_CLASS - Static variable in class org.apache.hama.graph.GraphJobRunner
 
VERTEX_VALUE_CLASS_ATTR - Static variable in class org.apache.hama.graph.GraphJob
 
vertexClass - Static variable in class org.apache.hama.graph.GraphJobRunner
 
VertexInputReader<KEYIN extends org.apache.hadoop.io.Writable,VALUEIN extends org.apache.hadoop.io.Writable,V extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable,M 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.WritableComparable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> - Interface in org.apache.hama.graph
The vertex interface.
VertexMessageIterable<V,T> - Class in org.apache.hama.graph
The rationale behind this class is that it polls messages if they are requested and once it finds a message that is not dedicated for this vertex, it breaks the iteration.
VertexMessageIterable(GraphJobMessage, V, BSPPeer<Writable, Writable, Writable, Writable, GraphJobMessage>) - Constructor for class org.apache.hama.graph.VertexMessageIterable
 
VertexOutputWriter<KEYOUT extends org.apache.hadoop.io.Writable,VALUEOUT extends org.apache.hadoop.io.Writable,V extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> - Interface in org.apache.hama.graph
The VertexOutputWriter defines what parts of the vertex shall be written to the output format.
VERTICES_SIZE_FLAG - Static variable in class org.apache.hama.graph.GraphJobMessage
 
VerticesInfo<V extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> - Interface in org.apache.hama.graph
VerticesInfo interface encapsulates the storage of vertices in a BSP Task.
voteToHalt() - Method in class org.apache.hama.graph.Vertex
 
voteToHalt() - Method in interface org.apache.hama.graph.VertexInterface
Vote to halt.

W

write(Vertex<V, E, M>, BSPPeer<Writable, Writable, V, M, GraphJobMessage>) - Method in class org.apache.hama.graph.DefaultVertexOutputWriter
 
write(DataOutput) - Method in class org.apache.hama.graph.GraphJobMessage
 
write(DataOutput) - Method in class org.apache.hama.graph.Vertex
 
write(Vertex<V, E, M>, BSPPeer<Writable, Writable, KEYOUT, VALUEOUT, GraphJobMessage>) - Method in interface org.apache.hama.graph.VertexOutputWriter
Write is called for every vertex in the list.
writeState(DataOutput) - Method in class org.apache.hama.graph.Vertex
Writes the state of vertex to the output stream.
A B C D E F G H I L M N O P R S T V W 

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