public class ScriptRecordWriter extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,FaunusVertex>
| Modifier and Type | Field and Description |
|---|---|
protected DataOutputStream |
out |
| Constructor and Description |
|---|
ScriptRecordWriter(DataOutputStream out,
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,
FaunusVertex vertex) |
protected final DataOutputStream out
public ScriptRecordWriter(DataOutputStream out, org.apache.hadoop.conf.Configuration configuration) throws IOException
IOExceptionpublic 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.