I
- Vertex index valueV
- Vertex valueE
- Edge valuepublic abstract class AdjacencyListTextVertexInputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> extends TextVertexInputFormat<I,V,E>
Modifier and Type | Class and Description |
---|---|
protected class |
AdjacencyListTextVertexInputFormat.AdjacencyListTextVertexReader
Vertex reader associated with
AdjacencyListTextVertexInputFormat . |
static interface |
AdjacencyListTextVertexInputFormat.LineSanitizer
Utility for doing any cleaning of each line before it is tokenized.
|
TextVertexInputFormat.TextVertexReader, TextVertexInputFormat.TextVertexReaderFromEachLine, TextVertexInputFormat.TextVertexReaderFromEachLineProcessed<T>, TextVertexInputFormat.TextVertexReaderFromEachLineProcessedHandlingExceptions<T,X extends Throwable>
Modifier and Type | Field and Description |
---|---|
static String |
LINE_TOKENIZE_VALUE
Delimiter for split
|
static String |
LINE_TOKENIZE_VALUE_DEFAULT
Default delimiter for split
|
textInputFormat
Constructor and Description |
---|
AdjacencyListTextVertexInputFormat() |
Modifier and Type | Method and Description |
---|---|
abstract AdjacencyListTextVertexInputFormat.AdjacencyListTextVertexReader |
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 static final String LINE_TOKENIZE_VALUE
public static final String LINE_TOKENIZE_VALUE_DEFAULT
public abstract AdjacencyListTextVertexInputFormat.AdjacencyListTextVertexReader createVertexReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context)
TextVertexInputFormat
TextVertexInputFormat.TextVertexReader
used by this
input format.createVertexReader
in class TextVertexInputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
split
- the split to be readcontext
- the information about the taskCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.