public final class ScriptRecordWriter extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,VertexWritable>
Modifier and Type | Field and Description |
---|---|
protected static String |
SCRIPT_ENGINE |
protected static String |
SCRIPT_FILE |
Constructor and Description |
---|
ScriptRecordWriter(DataOutputStream out,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
Modifier and Type | Method and Description |
---|---|
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
void |
write(org.apache.hadoop.io.NullWritable key,
VertexWritable vertex) |
protected static final String SCRIPT_FILE
protected static final String SCRIPT_ENGINE
public ScriptRecordWriter(DataOutputStream out, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
IOException
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.