public class IntIntNullTextInputFormat extends TextVertexInputFormat<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable>
VertexInputFormat
for
unweighted graphs with int ids.
Each line consists of: vertex neighbor1 neighbor2 ...Modifier and Type | Class and Description |
---|---|
class |
IntIntNullTextInputFormat.IntIntNullVertexReader
Vertex reader associated with
IntIntNullTextInputFormat . |
TextVertexInputFormat.TextVertexReader, TextVertexInputFormat.TextVertexReaderFromEachLine, TextVertexInputFormat.TextVertexReaderFromEachLineProcessed<T>, TextVertexInputFormat.TextVertexReaderFromEachLineProcessedHandlingExceptions<T,X extends Throwable>
textInputFormat
Constructor and Description |
---|
IntIntNullTextInputFormat() |
Modifier and Type | Method and Description |
---|---|
TextVertexInputFormat.TextVertexReader |
createVertexReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
The factory method which produces the
TextVertexInputFormat.TextVertexReader used by this
input format. |
checkInputSpecs, getSplits
readInputSplit, writeInputSplit
getConf, setConf
public TextVertexInputFormat.TextVertexReader createVertexReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
TextVertexInputFormat
TextVertexInputFormat.TextVertexReader
used by this
input format.createVertexReader
in class TextVertexInputFormat<org.apache.hadoop.io.IntWritable,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.