public interface OutputFormat
| Modifier and Type | Method and Description |
|---|---|
RecordWriter |
getRecordWriter(Configuration conf,
String name,
Class valueClass,
boolean isCompressed,
Properties tableProperties,
Reporter reporter) |
RecordWriter getRecordWriter(Configuration conf, String name, Class valueClass, boolean isCompressed, Properties tableProperties, Reporter reporter) throws IOException
conf - framework configurationname - the output file to write tovalueClass - value class, should be Class extends org.apache.hadoop.io.Writable>isCompressed - whether compress outputing filetableProperties - table propertiesreporter - mechanism for reporting progress while writing to output.RecordWriter to write the output for the job.IOExceptionCopyright © 2021 Alibaba Cloud Computing. All rights reserved.