org.apache.hadoop.hive.ql.io.orc
Class VectorizedOrcInputFormat
java.lang.Object
org.apache.hadoop.mapred.FileInputFormat<org.apache.hadoop.io.NullWritable,VectorizedRowBatch>
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 classes/interfaces inherited from class org.apache.hadoop.mapred.FileInputFormat |
org.apache.hadoop.mapred.FileInputFormat.Counter |
| Fields inherited from class org.apache.hadoop.mapred.FileInputFormat |
LOG |
|
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, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, listStatus, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VectorizedOrcInputFormat
public VectorizedOrcInputFormat()
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.