E
- Edge valuepublic class IntIntTextVertexValueInputFormat<E extends org.apache.hadoop.io.Writable> extends TextVertexValueInputFormat<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.IntWritable,E>
VertexValueInputFormat
for integer ids and values.
Each line consists of: id, valueModifier and Type | Class and Description |
---|---|
class |
IntIntTextVertexValueInputFormat.IntIntTextVertexValueReader
VertexValueReader associated with
IntIntTextVertexValueInputFormat . |
TextVertexValueInputFormat.TextVertexValueReader, TextVertexValueInputFormat.TextVertexValueReaderFromEachLine, TextVertexValueInputFormat.TextVertexValueReaderFromEachLineProcessed<T>
textInputFormat
Constructor and Description |
---|
IntIntTextVertexValueInputFormat() |
Modifier and Type | Method and Description |
---|---|
TextVertexValueInputFormat.TextVertexValueReader |
createVertexValueReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
Create a
VertexValueReader for a given split. |
checkInputSpecs, getSplits
createVertexReader
readInputSplit, writeInputSplit
getConf, setConf
public TextVertexValueInputFormat.TextVertexValueReader createVertexValueReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
VertexValueInputFormat
VertexValueReader
for a given split. The framework will
call VertexValueReader.initialize(InputSplit,
TaskAttemptContext)
before the split is used.createVertexValueReader
in class TextVertexValueInputFormat<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.IntWritable,E extends org.apache.hadoop.io.Writable>
split
- The split to be readcontext
- The information about the taskIOException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.