public static class AggregatorsTestComputation.SimpleEdgeReader extends GeneratedEdgeReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.FloatWritable>
DEFAULT_READER_EDGES, inputSplit, recordsRead, totalRecords| Constructor and Description |
|---|
SimpleEdgeReader() |
| Modifier and Type | Method and Description |
|---|---|
Edge<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.FloatWritable> |
getCurrentEdge()
Get the current edge.
|
org.apache.hadoop.io.LongWritable |
getCurrentSourceId()
Get the current edge source id.
|
boolean |
nextEdge()
Read the next edge.
|
close, getProgress, initializeaggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsagegetConf, setConfpublic boolean nextEdge()
EdgeReadernextEdge in class EdgeReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.FloatWritable>public Edge<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.FloatWritable> getCurrentEdge() throws IOException
EdgeReadergetCurrentEdge in class EdgeReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.FloatWritable>IOExceptionpublic org.apache.hadoop.io.LongWritable getCurrentSourceId()
throws IOException,
InterruptedException
EdgeReadergetCurrentSourceId in class EdgeReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.FloatWritable>IOExceptionInterruptedExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.