protected class GoraGVertexVertexOutputFormat.GoraGVertexVertexWriter extends GoraVertexOutputFormat.GoraVertexWriter
| Modifier | Constructor and Description |
|---|---|
protected |
GoraGVertexVertexWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getGoraKey(Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.FloatWritable> vertex)
Gets the correct key from a computed vertex.
|
protected org.apache.gora.persistency.Persistent |
getGoraVertex(Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.FloatWritable> vertex)
Each vertex needs to be transformed into a Gora object to be sent to
a specific data store.
|
close, initialize, process, writeVertexgetConf, setConfprotected org.apache.gora.persistency.Persistent getGoraVertex(Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.FloatWritable> vertex)
GoraVertexOutputFormat.GoraVertexWritergetGoraVertex in class GoraVertexOutputFormat.GoraVertexWritervertex - vertex to be transformed into a Gora objectprotected Object getGoraKey(Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.FloatWritable> vertex)
GoraVertexOutputFormat.GoraVertexWritergetGoraKey in class GoraVertexOutputFormat.GoraVertexWritervertex - vertex to extract the key from.Copyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.