org.apache.hadoop.hive.ql.io.orc
Class OrcInputFormat

java.lang.Object
  extended by 
      extended by org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
All Implemented Interfaces:
InputFormatChecker

public class OrcInputFormat
extends
implements InputFormatChecker

A MapReduce/Hive input format for ORC files.


Constructor Summary
OrcInputFormat()
           
 
Method Summary
  getRecordReader(InputSplit inputSplit, JobConf conf, Reporter reporter)
           
 boolean validateInput(FileSystem fs, HiveConf conf, ArrayList<FileStatus> files)
          This method is used to validate the input files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrcInputFormat

public OrcInputFormat()
Method Detail

getRecordReader

public  getRecordReader(InputSplit inputSplit,
                             JobConf conf,
                             Reporter reporter)
                      throws IOException
Throws:
IOException

validateInput

public boolean validateInput(FileSystem fs,
                             HiveConf conf,
                             ArrayList<FileStatus> files)
                      throws IOException
Description copied from interface: InputFormatChecker
This method is used to validate the input files.

Specified by:
validateInput in interface InputFormatChecker
Throws:
IOException


Copyright © 2012 The Apache Software Foundation