Class PageRankAlgorithm.PageRankVertexOutputFormat.PageRankVertexWriter
java.lang.Object
org.apache.giraph.conf.DefaultImmutableClassesGiraphConfigurable<I,V,E>
org.apache.giraph.io.VertexWriter<I,V,E>
org.apache.wayang.giraph.Algorithm.PageRankAlgorithm.PageRankVertexOutputFormat.PageRankVertexWriter
- All Implemented Interfaces:
org.apache.giraph.conf.GiraphConfigurationSettable<org.apache.hadoop.io.LongWritable,
,org.apache.hadoop.io.DoubleWritable, org.apache.hadoop.io.FloatWritable> org.apache.giraph.conf.ImmutableClassesGiraphConfigurable<org.apache.hadoop.io.LongWritable,
,org.apache.hadoop.io.DoubleWritable, org.apache.hadoop.io.FloatWritable> org.apache.giraph.io.SimpleVertexWriter<org.apache.hadoop.io.LongWritable,
org.apache.hadoop.io.DoubleWritable, org.apache.hadoop.io.FloatWritable>
- Enclosing class:
- PageRankAlgorithm.PageRankVertexOutputFormat
public class PageRankAlgorithm.PageRankVertexOutputFormat.PageRankVertexWriter
extends org.apache.giraph.io.VertexWriter<I,V,E>
Simple VertexWriter that supports
PageRankAlgorithm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeVertex
(org.apache.giraph.graph.Vertex<org.apache.hadoop.io.LongWritable, org.apache.hadoop.io.DoubleWritable, org.apache.hadoop.io.FloatWritable> vertex) Methods inherited from class org.apache.giraph.conf.DefaultImmutableClassesGiraphConfigurable
getConf, setConf
-
Constructor Details
-
PageRankVertexWriter
public PageRankVertexWriter()
-
-
Method Details
-
writeVertex
public void writeVertex(org.apache.giraph.graph.Vertex<org.apache.hadoop.io.LongWritable, org.apache.hadoop.io.DoubleWritable, throws IOException, InterruptedExceptionorg.apache.hadoop.io.FloatWritable> vertex) - Throws:
IOException
InterruptedException
-