I
- Vertex idV
- Vertex valueE
- Edge valuepublic class NoOpSuperstepOutput<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> extends Object implements SuperstepOutput<I,V,E>
SuperstepOutput
when we don't have output during
computation. All the methods are no-ops.Constructor and Description |
---|
NoOpSuperstepOutput() |
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
SuperstepOutput.getVertexWriter() |
public SimpleVertexWriter<I,V,E> getVertexWriter()
SuperstepOutput
getVertexWriter
in interface SuperstepOutput<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
public void returnVertexWriter(SimpleVertexWriter<I,V,E> vertexWriter)
SuperstepOutput
SuperstepOutput.getVertexWriter()
returnVertexWriter
in interface SuperstepOutput<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
vertexWriter
- SimpleVertexWriter which you are returningpublic void postApplication()
SuperstepOutput
postApplication
in interface SuperstepOutput<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.