Package org.apache.flink.orc.nohive.shim
Class OrcNoHiveShim
- java.lang.Object
-
- org.apache.flink.orc.nohive.shim.OrcNoHiveShim
-
- All Implemented Interfaces:
Serializable,org.apache.flink.orc.shim.OrcShim<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch>
public class OrcNoHiveShim extends Object implements org.apache.flink.orc.shim.OrcShim<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch>
Shim for orc reader without hive dependents.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OrcNoHiveShim()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrcNoHiveBatchWrappercreateBatchWrapper(org.apache.orc.TypeDescription schema, int batchSize)org.apache.orc.RecordReadercreateRecordReader(org.apache.hadoop.conf.Configuration conf, org.apache.orc.TypeDescription schema, int[] selectedFields, List<org.apache.flink.orc.OrcFilters.Predicate> conjunctPredicates, org.apache.flink.core.fs.Path path, long splitStart, long splitLength)booleannextBatch(org.apache.orc.RecordReader reader, org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch rowBatch)
-
-
-
Method Detail
-
createRecordReader
public org.apache.orc.RecordReader createRecordReader(org.apache.hadoop.conf.Configuration conf, org.apache.orc.TypeDescription schema, int[] selectedFields, List<org.apache.flink.orc.OrcFilters.Predicate> conjunctPredicates, org.apache.flink.core.fs.Path path, long splitStart, long splitLength) throws IOException- Specified by:
createRecordReaderin interfaceorg.apache.flink.orc.shim.OrcShim<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch>- Throws:
IOException
-
createBatchWrapper
public OrcNoHiveBatchWrapper createBatchWrapper(org.apache.orc.TypeDescription schema, int batchSize)
- Specified by:
createBatchWrapperin interfaceorg.apache.flink.orc.shim.OrcShim<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch>
-
nextBatch
public boolean nextBatch(org.apache.orc.RecordReader reader, org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch rowBatch) throws IOException- Specified by:
nextBatchin interfaceorg.apache.flink.orc.shim.OrcShim<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch>- Throws:
IOException
-
-