public class DGATextEdgeValueInputFormat extends DGAAbstractEdgeInputFormat<Text>
Modifier and Type | Class and Description |
---|---|
class |
DGATextEdgeValueInputFormat.DGATextEdgeValueReader |
DGAAbstractEdgeInputFormat.DGAAbstractEdgeReader<E extends Writable>
TextEdgeInputFormat.TextEdgeReader, TextEdgeInputFormat.TextEdgeReaderFromEachLine, TextEdgeInputFormat.TextEdgeReaderFromEachLineProcessed<T>
EDGE_VALUE, IO_EDGE_REVERSE_DUPLICATOR, IO_EDGE_REVERSE_DUPLICATOR_DEFAULT, LINE_TOKENIZE_VALUE, LINE_TOKENIZE_VALUE_DEFAULT
textInputFormat
Constructor and Description |
---|
DGATextEdgeValueInputFormat() |
Modifier and Type | Method and Description |
---|---|
EdgeReader<Text,Text> |
createEdgeReader(InputSplit split,
TaskAttemptContext context)
The create edge reader first determines if we should reverse each edge; some data sets are undirected graphs
and need the input format to reverse their connected nature.
|
checkInputSpecs, getSplits
readInputSplit, writeInputSplit
getConf, setConf
public EdgeReader<Text,Text> createEdgeReader(InputSplit split, TaskAttemptContext context) throws IOException
createEdgeReader
in class EdgeInputFormat<Text,Text>
split
- context
- IOException