protected class TextDoubleDoubleAdjacencyListVertexInputFormat.TextDoubleDoubleAdjacencyListVertexReader extends AdjacencyListTextVertexInputFormat.AdjacencyListTextVertexReader
TextDoubleDoubleAdjacencyListVertexInputFormat| Constructor and Description |
|---|
TextDoubleDoubleAdjacencyListVertexReader(AdjacencyListTextVertexInputFormat.LineSanitizer lineSanitizer)
Constructor with
AdjacencyListTextVertexInputFormat.LineSanitizer. |
| Modifier and Type | Method and Description |
|---|---|
Edge<org.apache.hadoop.io.Text,org.apache.hadoop.io.DoubleWritable> |
decodeEdge(String s1,
String s2)
Decode an edge from the line into an instance of a correctly typed Edge
|
org.apache.hadoop.io.Text |
decodeId(String s)
Decode the id for this line into an instance of its correct type.
|
org.apache.hadoop.io.DoubleWritable |
decodeValue(String s)
Decode the value for this line into an instance of its correct type.
|
getEdges, getId, getValue, initialize, preprocessLinegetCurrentVertex, nextVertexclose, createLineRecordReader, getContext, getProgress, getRecordReaderaggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsagegetConf, setConfpublic TextDoubleDoubleAdjacencyListVertexReader(AdjacencyListTextVertexInputFormat.LineSanitizer lineSanitizer)
AdjacencyListTextVertexInputFormat.LineSanitizer.lineSanitizer - the sanitizer to use for readingpublic org.apache.hadoop.io.Text decodeId(String s)
AdjacencyListTextVertexInputFormat.AdjacencyListTextVertexReaderdecodeId in class AdjacencyListTextVertexInputFormat.AdjacencyListTextVertexReaders - Id of vertex from linepublic org.apache.hadoop.io.DoubleWritable decodeValue(String s)
AdjacencyListTextVertexInputFormat.AdjacencyListTextVertexReaderdecodeValue in class AdjacencyListTextVertexInputFormat.AdjacencyListTextVertexReaders - Value from linepublic Edge<org.apache.hadoop.io.Text,org.apache.hadoop.io.DoubleWritable> decodeEdge(String s1, String s2)
AdjacencyListTextVertexInputFormat.AdjacencyListTextVertexReaderdecodeEdge in class AdjacencyListTextVertexInputFormat.AdjacencyListTextVertexReaders1 - The edge's id from the lines2 - The edge's value from the lineCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.