public class IntNullReverseTextEdgeInputFormat extends IntNullTextEdgeInputFormat
EdgeInputFormat for
unweighted graphs with int ids.
Each line consists of: source_vertex, target_vertex
This version also creates the reverse edges.IntNullTextEdgeInputFormat.IntNullTextEdgeReaderTextEdgeInputFormat.TextEdgeReader, TextEdgeInputFormat.TextEdgeReaderFromEachLine, TextEdgeInputFormat.TextEdgeReaderFromEachLineProcessed<T>textInputFormat| Constructor and Description |
|---|
IntNullReverseTextEdgeInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
EdgeReader<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable> |
createEdgeReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
Create an edge reader for a given split.
|
checkInputSpecs, getSplitsreadInputSplit, writeInputSplitgetConf, setConfpublic EdgeReader<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable> createEdgeReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
EdgeInputFormatEdgeReader.initialize(InputSplit, TaskAttemptContext) before
the split is used.createEdgeReader in class IntNullTextEdgeInputFormatsplit - the split to be readcontext - the information about the taskIOExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.