public class GraphSONRecordWriter extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,VertexWritable>
| Constructor and Description |
|---|
GraphSONRecordWriter(DataOutputStream outputStream,
org.apache.hadoop.conf.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
void |
write(org.apache.hadoop.io.NullWritable key,
VertexWritable vertex) |
public GraphSONRecordWriter(DataOutputStream outputStream, org.apache.hadoop.conf.Configuration configuration)
public void write(org.apache.hadoop.io.NullWritable key,
VertexWritable vertex)
throws IOException
write in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,VertexWritable>IOExceptionpublic void close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException
close in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,VertexWritable>IOExceptionCopyright © 2013–2015 Apache Software Foundation. All rights reserved.