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, writeVertex
getConf, setConf
protected org.apache.gora.persistency.Persistent getGoraVertex(Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.FloatWritable> vertex)
GoraVertexOutputFormat.GoraVertexWriter
getGoraVertex
in class GoraVertexOutputFormat.GoraVertexWriter
vertex
- 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.GoraVertexWriter
getGoraKey
in class GoraVertexOutputFormat.GoraVertexWriter
vertex
- vertex to extract the key from.Copyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.