protected class GoraGEdgeEdgeOutputFormat.GoraGEdgeEdgeWriter extends GoraEdgeOutputFormat.GoraEdgeWriter
| Modifier | Constructor and Description |
|---|---|
protected |
GoraGEdgeEdgeWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.gora.persistency.Persistent |
getGoraEdge(org.apache.hadoop.io.LongWritable srcId,
org.apache.hadoop.io.DoubleWritable srcValue,
Edge<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.FloatWritable> edge)
Each edge needs to be transformed into a Gora object to be sent to
a specific data store.
|
protected Object |
getGoraKey(org.apache.hadoop.io.LongWritable srcId,
org.apache.hadoop.io.DoubleWritable srcValue,
Edge<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.FloatWritable> edge)
Gets the correct key from a computed vertex.
|
close, initialize, writeEdgegetConf, setConfprotected org.apache.gora.persistency.Persistent getGoraEdge(org.apache.hadoop.io.LongWritable srcId,
org.apache.hadoop.io.DoubleWritable srcValue,
Edge<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.FloatWritable> edge)
GoraEdgeOutputFormat.GoraEdgeWritergetGoraEdge in class GoraEdgeOutputFormat.GoraEdgeWritersrcId - source vertex idsrcValue - source vertex valueedge - edge to be transformed into a Gora objectprotected Object getGoraKey(org.apache.hadoop.io.LongWritable srcId, org.apache.hadoop.io.DoubleWritable srcValue, Edge<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.FloatWritable> edge)
GoraEdgeOutputFormat.GoraEdgeWritergetGoraKey in class GoraEdgeOutputFormat.GoraEdgeWritersrcId - source vertex idsrcValue - source vertex valueedge - edge to extract the key from.Copyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.