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