K - Type of the keyV - Type of the value.public class HadoopOutputFormat<K,V> extends HadoopOutputFormatBase<K,V,Tuple2<K,V>>
recordWritercredentials| Constructor and Description |
|---|
HadoopOutputFormat(org.apache.hadoop.mapred.OutputFormat<K,V> mapredOutputFormat,
Class<org.apache.hadoop.mapred.OutputCommitter> outputCommitterClass,
org.apache.hadoop.mapred.JobConf job) |
HadoopOutputFormat(org.apache.hadoop.mapred.OutputFormat<K,V> mapredOutputFormat,
org.apache.hadoop.mapred.JobConf job) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeRecord(Tuple2<K,V> record) |
close, configure, finalizeGlobal, getJobConf, openread, writepublic HadoopOutputFormat(org.apache.hadoop.mapred.OutputFormat<K,V> mapredOutputFormat, org.apache.hadoop.mapred.JobConf job)
public void writeRecord(Tuple2<K,V> record) throws IOException
IOExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.