org.apache.hadoop.hive.ql.io
Class RCFileInputFormat<K extends org.apache.hadoop.io.LongWritable,V extends BytesRefArrayWritable>

java.lang.Object
  extended by org.apache.hadoop.mapred.FileInputFormat<K,V>
      extended by org.apache.hadoop.hive.ql.io.RCFileInputFormat<K,V>
Type Parameters:
K -
V -
All Implemented Interfaces:
InputFormatChecker, org.apache.hadoop.mapred.InputFormat<K,V>

public class RCFileInputFormat<K extends org.apache.hadoop.io.LongWritable,V extends BytesRefArrayWritable>
extends org.apache.hadoop.mapred.FileInputFormat<K,V>
implements InputFormatChecker

RCFileInputFormat.


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
RCFileInputFormat()
           
 
Method Summary
 org.apache.hadoop.mapred.RecordReader<K,V> getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, 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

RCFileInputFormat

public RCFileInputFormat()
Method Detail

getRecordReader

public org.apache.hadoop.mapred.RecordReader<K,V> getRecordReader(org.apache.hadoop.mapred.InputSplit split,
                                                                  org.apache.hadoop.mapred.JobConf job,
                                                                  org.apache.hadoop.mapred.Reporter reporter)
                                                                                                                                   throws IOException
Specified by:
getRecordReader in interface org.apache.hadoop.mapred.InputFormat<K extends org.apache.hadoop.io.LongWritable,V extends BytesRefArrayWritable>
Specified by:
getRecordReader in class org.apache.hadoop.mapred.FileInputFormat<K extends org.apache.hadoop.io.LongWritable,V extends BytesRefArrayWritable>
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.