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

java.lang.Object
  extended by org.apache.hadoop.mapred.FileInputFormat<org.apache.hadoop.io.NullWritable,VectorizedRowBatch>
      extended by org.apache.hadoop.hive.ql.io.orc.VectorizedOrcInputFormat
All Implemented Interfaces:
VectorizedInputFormatInterface, InputFormatChecker, org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.NullWritable,VectorizedRowBatch>

public class VectorizedOrcInputFormat
extends org.apache.hadoop.mapred.FileInputFormat<org.apache.hadoop.io.NullWritable,VectorizedRowBatch>
implements InputFormatChecker, VectorizedInputFormatInterface

A MapReduce/Hive input format for ORC files.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapred.FileInputFormat
org.apache.hadoop.mapred.FileInputFormat.Counter
 
Field Summary
 
Fields inherited from class org.apache.hadoop.mapred.FileInputFormat
INPUT_DIR_RECURSIVE, LOG, NUM_INPUT_FILES
 
Constructor Summary
VectorizedOrcInputFormat()
           
 
Method Summary
 org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,VectorizedRowBatch> getRecordReader(org.apache.hadoop.mapred.InputSplit inputSplit, org.apache.hadoop.mapred.JobConf conf, org.apache.hadoop.mapred.Reporter reporter)
           
 boolean validateInput(org.apache.hadoop.fs.FileSystem fs, HiveConf conf, ArrayList<org.apache.hadoop.fs.FileStatus> files)
          This method is used to validate the input files.
 
Methods inherited from class org.apache.hadoop.mapred.FileInputFormat
addInputPath, addInputPaths, getInputPathFilter, getInputPaths, getSplits, setInputPathFilter, setInputPaths, setInputPaths
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VectorizedOrcInputFormat

public VectorizedOrcInputFormat()
Method Detail

getRecordReader

public org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,VectorizedRowBatch> getRecordReader(org.apache.hadoop.mapred.InputSplit inputSplit,
                                                                                                                   org.apache.hadoop.mapred.JobConf conf,
                                                                                                                   org.apache.hadoop.mapred.Reporter reporter)
                                                                                                            throws IOException
Specified by:
getRecordReader in interface org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.NullWritable,VectorizedRowBatch>
Specified by:
getRecordReader in class org.apache.hadoop.mapred.FileInputFormat<org.apache.hadoop.io.NullWritable,VectorizedRowBatch>
Throws:
IOException

validateInput

public boolean validateInput(org.apache.hadoop.fs.FileSystem fs,
                             HiveConf conf,
                             ArrayList<org.apache.hadoop.fs.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 © 2014 The Apache Software Foundation. All rights reserved.