public class LongLongNullTextInputFormat extends TextVertexInputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable,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 |
LongLongNullTextInputFormat.LongLongNullVertexReader
Vertex reader associated with
LongLongNullTextInputFormat. |
TextVertexInputFormat.TextVertexReader, TextVertexInputFormat.TextVertexReaderFromEachLine, TextVertexInputFormat.TextVertexReaderFromEachLineProcessed<T>, TextVertexInputFormat.TextVertexReaderFromEachLineProcessedHandlingExceptions<T,X extends Throwable>textInputFormat| Constructor and Description |
|---|
LongLongNullTextInputFormat() |
| 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, getSplitsreadInputSplit, writeInputSplitgetConf, setConfpublic TextVertexInputFormat.TextVertexReader createVertexReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
TextVertexInputFormatTextVertexInputFormat.TextVertexReader used by this
input format.createVertexReader in class TextVertexInputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable,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.