public class SccLongLongNullTextInputFormat extends TextVertexInputFormat<org.apache.hadoop.io.LongWritable,SccVertexValue,org.apache.hadoop.io.NullWritable>
VertexInputFormat
for
unweighted graphs with long ids.
Each line consists of: vertex neighbor1 neighbor2 ...Modifier and Type | Class and Description |
---|---|
class |
SccLongLongNullTextInputFormat.LongLongNullVertexReader
Vertex reader associated with
SccLongLongNullTextInputFormat . |
TextVertexInputFormat.TextVertexReader, TextVertexInputFormat.TextVertexReaderFromEachLine, TextVertexInputFormat.TextVertexReaderFromEachLineProcessed<T>, TextVertexInputFormat.TextVertexReaderFromEachLineProcessedHandlingExceptions<T,X extends Throwable>
textInputFormat
Constructor and Description |
---|
SccLongLongNullTextInputFormat() |
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.LongWritable,SccVertexValue,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.