I - Vertex idV - Vertex valueE - Edge valuepublic interface SuperstepOutput<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
| Modifier and Type | Method and Description |
|---|---|
SimpleVertexWriter<I,V,E> |
getVertexWriter()
Get the Writer.
|
void |
postApplication()
Finalize this output in the end of the application
|
void |
returnVertexWriter(SimpleVertexWriter<I,V,E> vertexWriter)
Return the Writer after usage, which you got by calling
getVertexWriter() |
SimpleVertexWriter<I,V,E> getVertexWriter()
void returnVertexWriter(SimpleVertexWriter<I,V,E> vertexWriter)
getVertexWriter()vertexWriter - SimpleVertexWriter which you are returningvoid postApplication()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.