protected class GoraTestEdgeInputFormat.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, nextEdgeaggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsagegetConf, setConfprotected Edge<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.FloatWritable> transformEdge(Object goraObject)
transformEdge in class GoraEdgeInputFormat.GoraEdgeReadergoraObject - 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>IOExceptionInterruptedExceptionCopyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.