org.apache.hadoop.hive.ql.io
Class HiveOutputFormatImpl<K extends ,V extends Writable>

java.lang.Object
  extended by org.apache.hadoop.hive.ql.io.HiveOutputFormatImpl<K,V>

public class HiveOutputFormatImpl<K extends ,V extends Writable>
extends Object

Hive does not use OutputFormat's in a conventional way, but constructs and uses the defined OutputFormat for each table from FileSinkOperator. HiveOutputFormatImpl is used for basic setup, especially for calling checkOutputSpecs().


Constructor Summary
HiveOutputFormatImpl()
           
 
Method Summary
 void checkOutputSpecs(FileSystem ignored, JobConf job)
           
  getRecordWriter(FileSystem ignored, JobConf job, String name, Progressable progress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiveOutputFormatImpl

public HiveOutputFormatImpl()
Method Detail

getRecordWriter

public  getRecordWriter(FileSystem ignored,
                             JobConf job,
                             String name,
                             Progressable progress)

checkOutputSpecs

public void checkOutputSpecs(FileSystem ignored,
                             JobConf job)
                      throws IOException
Throws:
IOException


Copyright © 2012 The Apache Software Foundation