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_vertexModifier 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, getSplits
readInputSplit, writeInputSplit
getConf, setConf
public 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
EdgeInputFormat
EdgeReader.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 taskIOException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.