public class JSONFileOutputRecordWriter extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.LongWritable,Document>
| Constructor and Description |
|---|
JSONFileOutputRecordWriter(OutputStream fileOut) |
public JSONFileOutputRecordWriter(OutputStream fileOut)
public void close(org.apache.hadoop.mapreduce.TaskAttemptContext arg0)
throws IOException,
InterruptedException
close in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.LongWritable,Document>IOExceptionInterruptedExceptionpublic void write(org.apache.hadoop.io.LongWritable arg0,
Document document)
throws IOException,
InterruptedException
write in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.LongWritable,Document>IOExceptionInterruptedExceptionCopyright © 2015. All rights reserved.