public class HiveNullValueSequenceFileOutputFormat<K,V> extends <any> implements HiveOutputFormat<K,V>
HiveOutputFormat that writes SequenceFiles with the
content saved in the keys, and null in the values.| Constructor and Description |
|---|
HiveNullValueSequenceFileOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
FileSinkOperator.RecordWriter |
getHiveRecordWriter(JobConf jc,
Path finalOutPath,
java.lang.Class<? extends Writable> valueClass,
boolean isCompressed,
java.util.Properties tableProperties,
Progressable progress)
create the final out file and get some specific settings.
|
public HiveNullValueSequenceFileOutputFormat()
public FileSinkOperator.RecordWriter getHiveRecordWriter(JobConf jc, Path finalOutPath, java.lang.Class<? extends Writable> valueClass, boolean isCompressed, java.util.Properties tableProperties, Progressable progress) throws java.io.IOException
HiveOutputFormatgetHiveRecordWriter in interface HiveOutputFormat<K,V>jc - the job configuration filefinalOutPath - the final output file to be createdvalueClass - the value class used for createisCompressed - whether the content is compressed or nottableProperties - the table properties of this file's corresponding tableprogress - progress used for status reportjava.io.IOExceptionCopyright © 2012 The Apache Software Foundation