public class SimplePageRankComputation.SimplePageRankVertexOutputFormat.SimplePageRankVertexWriter extends TextVertexOutputFormat.TextVertexWriter
SimplePageRankComputation
Constructor and Description |
---|
SimplePageRankVertexWriter() |
Modifier and Type | Method and Description |
---|---|
void |
writeVertex(Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.FloatWritable> vertex)
Writes the next vertex and associated data
|
close, createLineRecordWriter, getContext, getRecordWriter, initialize
getConf, setConf
public void writeVertex(Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.FloatWritable> vertex) throws IOException, InterruptedException
SimpleVertexWriter
vertex
- set the properties of this vertexIOException
InterruptedException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.