Class PageRank.SimplePageRankVertexOutputFormat
- java.lang.Object
-
- org.apache.giraph.conf.DefaultImmutableClassesGiraphConfigurable<I,V,E>
-
- org.apache.giraph.io.OutputFormat<I,V,E>
-
- org.apache.giraph.io.VertexOutputFormat<I,V,E>
-
- org.apache.giraph.io.formats.TextVertexOutputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable>
-
- com.alibaba.graphscope.example.giraph.PageRank.SimplePageRankVertexOutputFormat
-
- All Implemented Interfaces:
org.apache.giraph.conf.GiraphConfigurationSettable<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable>
,org.apache.giraph.conf.ImmutableClassesGiraphConfigurable<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable>
- Enclosing class:
- PageRank
public static class PageRank.SimplePageRankVertexOutputFormat extends TextVertexOutputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable>
Simple VertexOutputFormat that supportsPageRank
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
PageRank.SimplePageRankVertexOutputFormat.SimplePageRankVertexWriter
Simple VertexWriter that supportsPageRank
-
Nested classes/interfaces inherited from class org.apache.giraph.io.formats.TextVertexOutputFormat
TextVertexOutputFormat.TextVertexWriter, TextVertexOutputFormat.TextVertexWriterToEachLine
-
-
Field Summary
-
Fields inherited from class org.apache.giraph.io.formats.TextVertexOutputFormat
textOutputFormat
-
-
Constructor Summary
Constructors Constructor Description SimplePageRankVertexOutputFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextVertexOutputFormat.TextVertexWriter
createVertexWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
The factory method which produces theTextVertexOutputFormat.TextVertexWriter
used by this output format.-
Methods inherited from class org.apache.giraph.io.formats.TextVertexOutputFormat
checkOutputSpecs, getOutputCommitter
-
-
-
-
Method Detail
-
createVertexWriter
public TextVertexOutputFormat.TextVertexWriter createVertexWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
Description copied from class:TextVertexOutputFormat
The factory method which produces theTextVertexOutputFormat.TextVertexWriter
used by this output format.- Specified by:
createVertexWriter
in classTextVertexOutputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable>
- Parameters:
context
- the information about the task- Returns:
- the text vertex writer to be used
- Throws:
IOException
InterruptedException
-
-