org.apache.hadoop.hive.ql.exec.persistence
Class PTFRowContainer.PTFHiveSequenceFileOutputFormat<K,V>
java.lang.Object
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat<K,V>
org.apache.hadoop.hive.ql.exec.persistence.PTFRowContainer.PTFHiveSequenceFileOutputFormat<K,V>
- All Implemented Interfaces:
- HiveOutputFormat<K,V>
- Enclosing class:
- PTFRowContainer<Row extends List<Object>>
public static class PTFRowContainer.PTFHiveSequenceFileOutputFormat<K,V>
- extends HiveSequenceFileOutputFormat<K,V>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PTFRowContainer.PTFHiveSequenceFileOutputFormat
public PTFRowContainer.PTFHiveSequenceFileOutputFormat()
getHiveRecordWriter
public FileSinkOperator.RecordWriter getHiveRecordWriter(JobConf jc,
Path finalOutPath,
Class<? extends Writable> valueClass,
boolean isCompressed,
Properties tableProperties,
Progressable progress)
throws IOException
- Description copied from class:
HiveSequenceFileOutputFormat
- create the final out file, and output an empty key as the key.
- Overrides:
getHiveRecordWriter
in class HiveSequenceFileOutputFormat<K,V>
- Parameters:
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 tableInfo of this file's corresponding tableprogress
- progress used for status report
- Returns:
- the RecordWriter for the output file
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation