KEYOUT - the key output type.VALUEOUT - the value output type.V - the vertexID type.E - the edge value type.M - the vertex value type.public interface VertexOutputWriter<KEYOUT extends org.apache.hadoop.io.Writable,VALUEOUT extends org.apache.hadoop.io.Writable,V extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable>
| Modifier and Type | Method and Description |
|---|---|
void |
setup(org.apache.hadoop.conf.Configuration conf)
Used to setup this output writer.
|
void |
write(Vertex<V,E,M> vertex,
BSPPeer<org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable,KEYOUT,VALUEOUT,GraphJobMessage> peer)
Write is called for every vertex in the list.
|
void setup(org.apache.hadoop.conf.Configuration conf)
void write(Vertex<V,E,M> vertex, BSPPeer<org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable,KEYOUT,VALUEOUT,GraphJobMessage> peer) throws IOException
vertex - the user defined vertex.peer - the peer that has methods to write to the output sink.IOExceptionCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.