public class IntNullTextEdgeInputFormat extends TextEdgeInputFormat<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable>
EdgeInputFormat for
unweighted graphs with int ids.
Each line consists of: source_vertex, target_vertex| Modifier and Type | Class and Description |
|---|---|
class |
IntNullTextEdgeInputFormat.IntNullTextEdgeReader
EdgeReader associated with
IntNullTextEdgeInputFormat. |
TextEdgeInputFormat.TextEdgeReader, TextEdgeInputFormat.TextEdgeReaderFromEachLine, TextEdgeInputFormat.TextEdgeReaderFromEachLineProcessed<T>textInputFormat| Constructor and Description |
|---|
IntNullTextEdgeInputFormat() |
| 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 EdgeInputFormat<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable>split - the split to be readcontext - the information about the taskIOExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.