I - Vertex idV - Vertex valueE - Edge valuepublic abstract class VertexWriter<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> extends DefaultImmutableClassesGiraphConfigurable<I,V,E> implements SimpleVertexWriter<I,V,E>
| Constructor and Description | 
|---|
| VertexWriter() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | close(org.apache.hadoop.mapreduce.TaskAttemptContext context)Close this  VertexWriterto future operations. | 
| abstract void | initialize(org.apache.hadoop.mapreduce.TaskAttemptContext context)Use the context to setup writing the vertices. | 
getConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteVertexpublic abstract void initialize(org.apache.hadoop.mapreduce.TaskAttemptContext context)
                         throws IOException,
                                InterruptedException
context - Context used to write the vertices.IOExceptionInterruptedExceptionpublic abstract void close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
                    throws IOException,
                           InterruptedException
VertexWriter to future operations.context - the context of the taskIOExceptionInterruptedExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.