public class GraphvizOutputFormat extends TextVertexOutputFormat<org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable>
TextVertexOutputFormat.TextVertexWriter, TextVertexOutputFormat.TextVertexWriterToEachLine
textOutputFormat
Constructor and Description |
---|
GraphvizOutputFormat() |
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. |
org.apache.hadoop.mapreduce.OutputCommitter |
getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
Get the output committer for this output format.
|
checkOutputSpecs
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.WritableComparable,org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable>
context
- the information about the taskIOException
InterruptedException
public org.apache.hadoop.mapreduce.OutputCommitter getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
OutputFormat
getOutputCommitter
in class TextVertexOutputFormat<org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable>
context
- the task contextIOException
InterruptedException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.