public static class SimpleSuperstepComputation.SimpleSuperstepVertexReader extends GeneratedVertexReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.FloatWritable>
SimpleSuperstepComputationinputSplit, READER_VERTICES, recordsRead, REVERSE_ID_ORDER, reverseIdOrder, totalRecords| Constructor and Description |
|---|
SimpleSuperstepVertexReader() |
| Modifier and Type | Method and Description |
|---|---|
Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.FloatWritable> |
getCurrentVertex()
Get the current vertex.
|
boolean |
nextVertex() |
close, getProgress, initializeaggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsagegetConf, setConfpublic boolean nextVertex()
throws IOException,
InterruptedException
nextVertex in class VertexReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.FloatWritable>IOExceptionInterruptedExceptionpublic Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.FloatWritable> getCurrentVertex() throws IOException, InterruptedException
VertexReadergetCurrentVertex in class VertexReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.FloatWritable>IOExceptionInterruptedExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.