public class BspRecordWriter
extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
BspOutputFormat
since some versions of Hadoop
require that a RecordWriter is returned from getRecordWriter.
Does nothing, except insures that write is never called.Constructor and Description |
---|
BspRecordWriter() |
Modifier and Type | Method and Description |
---|---|
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
void |
write(org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text value) |
public void close(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
close
in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
IOException
InterruptedException
public void write(org.apache.hadoop.io.Text key, org.apache.hadoop.io.Text value) throws IOException, InterruptedException
write
in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
IOException
InterruptedException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.