public class SccComputation extends BasicComputation<org.apache.hadoop.io.LongWritable,SccVertexValue,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.LongWritable>
| Constructor and Description | 
|---|
| SccComputation() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | compute(Vertex<org.apache.hadoop.io.LongWritable,SccVertexValue,org.apache.hadoop.io.NullWritable> vertex,
       Iterable<org.apache.hadoop.io.LongWritable> messages)Must be defined by user to do computation on a single Vertex. | 
| void | preSuperstep()Prepare for computation. | 
addEdgeRequest, addVertexRequest, addVertexRequest, getContext, getMyWorkerIndex, getSuperstep, getTotalNumEdges, getTotalNumVertices, getWorkerContext, getWorkerCount, getWorkerForVertex, initialize, postSuperstep, removeEdgesRequest, removeVertexRequest, sendMessage, sendMessageToAllEdges, sendMessageToMultipleEdgesaggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsagegetConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfsetConfgetBroadcastreduce, reduceMergeaggregategetAggregatedValuepublic void preSuperstep()
AbstractComputationAbstractComputation.compute(Vertex, Iterable) being called for any of the vertices
 in the partition.preSuperstep in interface Computation<org.apache.hadoop.io.LongWritable,SccVertexValue,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>preSuperstep in class AbstractComputation<org.apache.hadoop.io.LongWritable,SccVertexValue,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>public void compute(Vertex<org.apache.hadoop.io.LongWritable,SccVertexValue,org.apache.hadoop.io.NullWritable> vertex, Iterable<org.apache.hadoop.io.LongWritable> messages) throws IOException
AbstractComputationcompute in interface Computation<org.apache.hadoop.io.LongWritable,SccVertexValue,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>compute in class AbstractComputation<org.apache.hadoop.io.LongWritable,SccVertexValue,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>vertex - Vertexmessages - Messages that were sent to this vertex in the previous
                 superstep.  Each message is only guaranteed to have
                 a life expectancy as long as next() is not called.IOExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.