protected class GoraGEdgeEdgeInputFormat.GoraGEdgeEdgeReader extends GoraEdgeInputFormat.GoraEdgeReader
Modifier | Constructor and Description |
---|---|
protected |
GoraGEdgeEdgeReader() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.io.LongWritable |
getCurrentSourceId()
Gets the currentSourceId for the edge.
|
protected Edge<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.FloatWritable> |
transformEdge(Object goraObject)
Transforms a GoraObject into an Edge object.
|
close, getCurrentEdge, getProgress, getResults, initialize, nextEdge
aggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsage
getConf, setConf
protected Edge<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.FloatWritable> transformEdge(Object goraObject)
transformEdge
in class GoraEdgeInputFormat.GoraEdgeReader
goraObject
- Object from Gora to be translated.public org.apache.hadoop.io.LongWritable getCurrentSourceId() throws IOException, InterruptedException
getCurrentSourceId
in class EdgeReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.FloatWritable>
IOException
InterruptedException
Copyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.