public class InterRecordWriter extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple>
InterRecordWriter
It uses the default InterSedes object for serialization.Modifier and Type | Field and Description |
---|---|
static int |
RECORD_1 |
static int |
RECORD_2 |
static int |
RECORD_3 |
Constructor and Description |
---|
InterRecordWriter(DataOutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext arg0) |
void |
write(org.apache.hadoop.io.WritableComparable wc,
Tuple t) |
public static final int RECORD_1
public static final int RECORD_2
public static final int RECORD_3
public InterRecordWriter(DataOutputStream out)
public void close(org.apache.hadoop.mapreduce.TaskAttemptContext arg0) throws IOException, InterruptedException
close
in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple>
IOException
InterruptedException
public void write(org.apache.hadoop.io.WritableComparable wc, Tuple t) throws IOException, InterruptedException
write
in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple>
IOException
InterruptedException
Copyright © 2007-2017 The Apache Software Foundation