public class GiraphVertexWriter
extends 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(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
IOExceptionInterruptedExceptionpublic void close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void writeVertex(Vertex vertex)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2013–2015 Apache Software Foundation. All rights reserved.