Class P2PVertexInputFormat
- 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.P2PVertexInputFormat
 
 
 
 
 
 
- 
- 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 P2PVertexInputFormat 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 classP2PVertexInputFormat.P2PVertexReader- 
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 P2PVertexInputFormat() 
- 
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
 
 - 
 
 -