public static class SimplePageRankComputation.SimplePageRankVertexOutputFormat extends TextVertexOutputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.FloatWritable>
SimplePageRankComputation
Modifier and Type | Class and Description |
---|---|
class |
SimplePageRankComputation.SimplePageRankVertexOutputFormat.SimplePageRankVertexWriter
Simple VertexWriter that supports
SimplePageRankComputation |
TextVertexOutputFormat.TextVertexWriter, TextVertexOutputFormat.TextVertexWriterToEachLine
textOutputFormat
Constructor and Description |
---|
SimplePageRankVertexOutputFormat() |
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.DoubleWritable,org.apache.hadoop.io.FloatWritable>
context
- the information about the taskIOException
InterruptedException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.