Package org.apache.flink.orc.shim
Class OrcShimV230
java.lang.Object
org.apache.flink.orc.shim.OrcShimV200
org.apache.flink.orc.shim.OrcShimV210
org.apache.flink.orc.shim.OrcShimV230
- All Implemented Interfaces:
Serializable,OrcShim<org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch>
Shim orc for Hive version 2.1.0 and upper versions.
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.orc.ReadercreateReader(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf) protected org.apache.orc.RecordReadercreateRecordReader(org.apache.orc.Reader reader, org.apache.orc.Reader.Options options) protected org.apache.orc.Reader.OptionsreadOrcConf(org.apache.orc.Reader.Options options, org.apache.hadoop.conf.Configuration conf) Methods inherited from class org.apache.flink.orc.shim.OrcShimV210
nextBatchMethods inherited from class org.apache.flink.orc.shim.OrcShimV200
computeProjectionMask, createBatchWrapper, createRecordReader, getOffsetAndLengthForSplit
-
Constructor Details
-
OrcShimV230
public OrcShimV230()
-
-
Method Details
-
createReader
protected org.apache.orc.Reader createReader(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf) throws IOException - Overrides:
createReaderin classOrcShimV200- Throws:
IOException
-
createRecordReader
protected org.apache.orc.RecordReader createRecordReader(org.apache.orc.Reader reader, org.apache.orc.Reader.Options options) throws IOException - Overrides:
createRecordReaderin classOrcShimV200- Throws:
IOException
-
readOrcConf
protected org.apache.orc.Reader.Options readOrcConf(org.apache.orc.Reader.Options options, org.apache.hadoop.conf.Configuration conf) - Overrides:
readOrcConfin classOrcShimV200
-