Class SSSP.SimpleSuperstepVertexOutputFormat
- 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.LongWritable,org.apache.hadoop.io.LongWritable>
-
- com.alibaba.graphscope.example.giraph.SSSP.SimpleSuperstepVertexOutputFormat
-
- All Implemented Interfaces:
org.apache.giraph.conf.GiraphConfigurationSettable<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>
,org.apache.giraph.conf.ImmutableClassesGiraphConfigurable<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>
- Enclosing class:
- SSSP
public static class SSSP.SimpleSuperstepVertexOutputFormat extends TextVertexOutputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>
Simple VertexOutputFormat.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SSSP.SimpleSuperstepVertexOutputFormat.SimpleSuperstepVertexWriter
Simple VertexWriter.-
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 SimpleSuperstepVertexOutputFormat()
-
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
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.LongWritable,org.apache.hadoop.io.LongWritable>
- Parameters:
context
- the information about the task- Returns:
- the text vertex writer to be used
- Throws:
IOException
InterruptedException
-
-