public class SimpleTextVertexOutputFormat extends TextVertexOutputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.FloatWritable>
TextVertexOutputFormat.TextVertexWriter, TextVertexOutputFormat.TextVertexWriterToEachLine
textOutputFormat
Constructor and Description |
---|
SimpleTextVertexOutputFormat() |
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.