Class HiveOrcBatchWrapper

  • All Implemented Interfaces:
    OrcVectorizedBatchWrapper<org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch>

    public class HiveOrcBatchWrapper
    extends Object
    implements OrcVectorizedBatchWrapper<org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch>
    Wrap VectorizedRowBatch hive orc batch.
    • Constructor Detail

      • HiveOrcBatchWrapper

        public HiveOrcBatchWrapper​(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch)
    • Method Detail

      • getBatch

        public org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch getBatch()
        Description copied from interface: OrcVectorizedBatchWrapper
        Get the real batch.
        Specified by:
        getBatch in interface OrcVectorizedBatchWrapper<org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch>
      • size

        public int size()
        Specified by:
        size in interface OrcVectorizedBatchWrapper<org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch>
        Returns:
        batch size.