Class LiveJournalVertexInputFormat
- java.lang.Object
-
- org.apache.giraph.conf.DefaultImmutableClassesGiraphConfigurable<I,V,E>
-
- org.apache.giraph.io.GiraphInputFormat<I,V,E>
-
- org.apache.giraph.io.VertexInputFormat<I,V,E>
-
- org.apache.giraph.io.formats.TextVertexInputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>
-
- com.alibaba.graphscope.example.giraph.format.LiveJournalVertexInputFormat
-
- 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>
public class LiveJournalVertexInputFormat extends TextVertexInputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classLiveJournalVertexInputFormat.LiveJournalVertexReader-
Nested classes/interfaces inherited from class org.apache.giraph.io.formats.TextVertexInputFormat
TextVertexInputFormat.TextVertexReader, TextVertexInputFormat.TextVertexReaderFromEachLine, TextVertexInputFormat.TextVertexReaderFromEachLineProcessed<T>, TextVertexInputFormat.TextVertexReaderFromEachLineProcessedHandlingExceptions<T,X extends Throwable>
-
-
Constructor Summary
Constructors Constructor Description LiveJournalVertexInputFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextVertexInputFormat.TextVertexReadercreateVertexReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context)The factory method which produces theTextVertexInputFormat.TextVertexReaderused by this input format.-
Methods inherited from class org.apache.giraph.io.formats.TextVertexInputFormat
checkInputSpecs, getSplits
-
-
-
-
Method Detail
-
createVertexReader
public TextVertexInputFormat.TextVertexReader createVertexReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
The factory method which produces theTextVertexInputFormat.TextVertexReaderused by this input format.- Specified by:
createVertexReaderin classTextVertexInputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>- Parameters:
split- the split to be readcontext- the information about the task- Returns:
- the text vertex reader to be used
- Throws:
IOException
-
-