public static class SimpleSuperstepComputation.SimpleSuperstepVertexOutputFormat extends TextVertexOutputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.FloatWritable>
SimpleSuperstepComputation
Modifier and Type | Class and Description |
---|---|
class |
SimpleSuperstepComputation.SimpleSuperstepVertexOutputFormat.SimpleSuperstepVertexWriter
Simple VertexWriter that supports
SimpleSuperstepComputation |
TextVertexOutputFormat.TextVertexWriter, TextVertexOutputFormat.TextVertexWriterToEachLine
textOutputFormat
Constructor and Description |
---|
SimpleSuperstepVertexOutputFormat() |
Modifier and Type | Method and Description |
---|---|
TextVertexOutputFormat.TextVertexWriter |
createVertexWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
The factory method which produces the
TextVertexOutputFormat.TextVertexWriter used by this
output format. |
checkOutputSpecs, getOutputCommitter
postWriting, preWriting
getConf, setConf
public TextVertexOutputFormat.TextVertexWriter createVertexWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
TextVertexOutputFormat
TextVertexOutputFormat.TextVertexWriter
used by this
output format.createVertexWriter
in class TextVertexOutputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.FloatWritable>
context
- the information about the taskIOException
InterruptedException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.