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
VertexWriter to future operations. |
abstract void |
initialize(org.apache.hadoop.mapreduce.TaskAttemptContext context)
Use the context to setup writing the vertices.
|
getConf, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeVertex
public abstract void initialize(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
context
- Context used to write the vertices.IOException
InterruptedException
public abstract void close(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
VertexWriter
to future operations.context
- the context of the taskIOException
InterruptedException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.