extends GoraEdgeWriter {
@Override
protected Persistent getGoraEdge(LongWritable srcId,
DoubleWritable srcValue, Edge<LongWritable, FloatWritable> edge) {
GEdgeResult tmpGEdge = new GEdgeResult();
Utf8 keyLabel = new Utf8(srcId.toString() + "-" +
edge.getTargetVertexId().toString());
tmpGEdge.setEdgeId(keyLabel.toString());
tmpGEdge.setEdgeWeight(edge.getValue().get());
tmpGEdge.setVertexInId(srcId.toString());
tmpGEdge.setVertexOutId(edge.getTargetVertexId().toString());
tmpGEdge.setLabel(keyLabel.toString());
getLogger().debug("GoraObject created: " + tmpGEdge.toString());
return tmpGEdge;
}