public static class PageRankWithKryoSimpleWritable.PageRankWithKryoVertexReader extends GeneratedVertexReader<org.apache.hadoop.io.LongWritable,PageRankWithKryoSimpleWritable.VertexValue,PageRankWithKryoSimpleWritable.EdgeValue>
PageRankWithKryoSimpleWritable
inputSplit, READER_VERTICES, recordsRead, REVERSE_ID_ORDER, reverseIdOrder, totalRecords
Constructor and Description |
---|
PageRankWithKryoVertexReader() |
Modifier and Type | Method and Description |
---|---|
Vertex<org.apache.hadoop.io.LongWritable,PageRankWithKryoSimpleWritable.VertexValue,PageRankWithKryoSimpleWritable.EdgeValue> |
getCurrentVertex()
Get the current vertex.
|
boolean |
nextVertex() |
close, getProgress, initialize
aggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsage
getConf, setConf
public boolean nextVertex()
nextVertex
in class VertexReader<org.apache.hadoop.io.LongWritable,PageRankWithKryoSimpleWritable.VertexValue,PageRankWithKryoSimpleWritable.EdgeValue>
public Vertex<org.apache.hadoop.io.LongWritable,PageRankWithKryoSimpleWritable.VertexValue,PageRankWithKryoSimpleWritable.EdgeValue> getCurrentVertex() throws IOException
VertexReader
getCurrentVertex
in class VertexReader<org.apache.hadoop.io.LongWritable,PageRankWithKryoSimpleWritable.VertexValue,PageRankWithKryoSimpleWritable.EdgeValue>
IOException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.