public final class GiraphVertexWriter
extends org.apache.giraph.io.VertexWriter
| Constructor and Description |
|---|
GiraphVertexWriter(org.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.NullWritable,VertexWritable> outputFormat) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
void |
initialize(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
void |
writeVertex(org.apache.giraph.graph.Vertex vertex) |
public GiraphVertexWriter(org.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.NullWritable,VertexWritable> outputFormat)
public void initialize(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
initialize in class org.apache.giraph.io.VertexWriterIOExceptionInterruptedExceptionpublic void close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
close in class org.apache.giraph.io.VertexWriterIOExceptionInterruptedExceptionpublic void writeVertex(org.apache.giraph.graph.Vertex vertex)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2013–2015 Apache Software Foundation. All rights reserved.