public class GryoRecordWriter extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,VertexWritable>
Constructor and Description |
---|
GryoRecordWriter(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 GryoRecordWriter(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>
IOException
public void close(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
close
in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,VertexWritable>
IOException
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.