public class TFileRecordWriter extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple>
InterRecordWriter
It uses the default InterSedes object for serialization.| Constructor and Description |
|---|
TFileRecordWriter(org.apache.hadoop.fs.Path file,
java.lang.String codec,
org.apache.hadoop.conf.Configuration conf) |
public TFileRecordWriter(org.apache.hadoop.fs.Path file,
java.lang.String codec,
org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
java.io.IOExceptionpublic void close(org.apache.hadoop.mapreduce.TaskAttemptContext arg0)
throws java.io.IOException,
java.lang.InterruptedException
close in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple>java.io.IOExceptionjava.lang.InterruptedExceptionpublic void write(org.apache.hadoop.io.WritableComparable wc,
Tuple t)
throws java.io.IOException,
java.lang.InterruptedException
write in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple>java.io.IOExceptionjava.lang.InterruptedExceptionCopyright © 2007-2012 The Apache Software Foundation