public class HiveNullValueSequenceFileOutputFormat<K,V> extends org.apache.hadoop.mapred.SequenceFileOutputFormat<K,V> 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(org.apache.hadoop.mapred.JobConf jc,
org.apache.hadoop.fs.Path finalOutPath,
Class<? extends org.apache.hadoop.io.Writable> valueClass,
boolean isCompressed,
Properties tableProperties,
org.apache.hadoop.util.Progressable progress)
create the final out file and get some specific settings.
|
getOutputCompressionType, getReaders, getRecordWriter, setOutputCompressionTypecheckOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath, setWorkOutputPathpublic HiveNullValueSequenceFileOutputFormat()
public FileSinkOperator.RecordWriter getHiveRecordWriter(org.apache.hadoop.mapred.JobConf jc, org.apache.hadoop.fs.Path finalOutPath, Class<? extends org.apache.hadoop.io.Writable> valueClass, boolean isCompressed, Properties tableProperties, org.apache.hadoop.util.Progressable progress) throws 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 reportIOExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.