public class SimpleSuperstepComputation.SimpleSuperstepVertexOutputFormat.SimpleSuperstepVertexWriter extends TextVertexOutputFormat.TextVertexWriter
SimpleSuperstepComputation
Constructor and Description |
---|
SimpleSuperstepVertexWriter() |
Modifier and Type | Method and Description |
---|---|
void |
writeVertex(Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.IntWritable,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.IntWritable,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.