public class EdgeListRecordWriter extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,FaunusVertex>
| Modifier and Type | Field and Description |
|---|---|
protected DataOutputStream |
out |
| Constructor and Description |
|---|
EdgeListRecordWriter(DataOutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
void |
write(org.apache.hadoop.io.NullWritable key,
FaunusVertex vertex) |
protected DataOutputStream out
public EdgeListRecordWriter(DataOutputStream out)
public void write(org.apache.hadoop.io.NullWritable key,
FaunusVertex vertex)
throws IOException
write in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,FaunusVertex>IOExceptionpublic void close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException
close in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,FaunusVertex>IOExceptionCopyright © 2012–2016. All rights reserved.