public class HiveBinaryOutputFormat<K extends WritableComparable,V extends Writable> extends <any> implements HiveOutputFormat<K,V>
| Constructor and Description |
|---|
HiveBinaryOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
FileSinkOperator.RecordWriter |
getHiveRecordWriter(JobConf jc,
Path outPath,
java.lang.Class<? extends Writable> valueClass,
boolean isCompressed,
java.util.Properties tableProperties,
Progressable progress)
create the final out file, and output row by row.
|
public FileSinkOperator.RecordWriter getHiveRecordWriter(JobConf jc, Path outPath, java.lang.Class<? extends Writable> valueClass, boolean isCompressed, java.util.Properties tableProperties, Progressable progress) throws java.io.IOException
getHiveRecordWriter in interface HiveOutputFormat<K extends WritableComparable,V extends Writable>jc - the job configuration fileoutPath - the final output file to be createdvalueClass - the value class used for createisCompressed - ignored. Currently we don't support compression.tableProperties - the tableProperties of this file's corresponding tableprogress - progress used for status reportjava.io.IOExceptionCopyright © 2012 The Apache Software Foundation