public class OrcShimV230 extends OrcShimV210
After hive 2.3 and later, the orc API is basically stable, so we can call it directly.
Since hive 2.2 not include orc classes, so we can use hive orc 2.3 to read from hive 2.2.
Constructor and Description |
---|
OrcShimV230() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.orc.Reader |
createReader(org.apache.hadoop.fs.Path path,
Configuration conf) |
protected org.apache.orc.RecordReader |
createRecordReader(org.apache.orc.Reader reader,
org.apache.orc.Reader.Options options) |
protected org.apache.orc.Reader.Options |
readOrcConf(org.apache.orc.Reader.Options options,
Configuration conf) |
nextBatch
computeProjectionMask, createBatchWrapper, createRecordReader, getOffsetAndLengthForSplit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createShim, defaultShim
protected org.apache.orc.Reader createReader(org.apache.hadoop.fs.Path path, Configuration conf) throws IOException
createReader
in class OrcShimV200
IOException
protected org.apache.orc.RecordReader createRecordReader(org.apache.orc.Reader reader, org.apache.orc.Reader.Options options) throws IOException
createRecordReader
in class OrcShimV200
IOException
protected org.apache.orc.Reader.Options readOrcConf(org.apache.orc.Reader.Options options, Configuration conf)
readOrcConf
in class OrcShimV200
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.