Interface OrcShim<BATCH>

    • Method Detail

      • createRecordReader

        org.apache.orc.RecordReader createRecordReader​(org.apache.hadoop.conf.Configuration conf,
                                                       org.apache.orc.TypeDescription schema,
                                                       int[] selectedFields,
                                                       List<OrcFilters.Predicate> conjunctPredicates,
                                                       Path path,
                                                       long splitStart,
                                                       long splitLength)
                                                throws IOException
        Create orc RecordReader from conf, schema and etc...
        Throws:
        IOException
      • nextBatch

        boolean nextBatch​(org.apache.orc.RecordReader reader,
                          BATCH rowBatch)
                   throws IOException
        Read the next row batch.
        Throws:
        IOException
      • defaultShim

        static OrcShim<org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch> defaultShim()
        Default with orc dependent, we should use v2.3.0.
      • createShim

        static OrcShim<org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch> createShim​(String hiveVersion)
        Create shim from hive version.