Class PageRank.SimplePageRankVertexOutputFormat.SimplePageRankVertexWriter
- java.lang.Object
-
- org.apache.giraph.conf.DefaultImmutableClassesGiraphConfigurable<I,V,E>
-
- org.apache.giraph.io.VertexWriter<I,V,E>
-
- org.apache.giraph.io.formats.TextVertexOutputFormat.TextVertexWriter
-
- com.alibaba.graphscope.example.giraph.PageRank.SimplePageRankVertexOutputFormat.SimplePageRankVertexWriter
-
- 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>
,org.apache.giraph.io.SimpleVertexWriter<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable>
- Enclosing class:
- PageRank.SimplePageRankVertexOutputFormat
public class PageRank.SimplePageRankVertexOutputFormat.SimplePageRankVertexWriter extends TextVertexOutputFormat.TextVertexWriter
Simple VertexWriter that supportsPageRank
-
-
Constructor Summary
Constructors Constructor Description SimplePageRankVertexWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeVertex(org.apache.giraph.graph.Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable> vertex)
-
Methods inherited from class org.apache.giraph.io.formats.TextVertexOutputFormat.TextVertexWriter
close, createLineRecordWriter, getContext, getRecordWriter, initialize
-
-
-
-
Method Detail
-
writeVertex
public void writeVertex(org.apache.giraph.graph.Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable> vertex) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
-