Package org.apache.flink.orc.vector
Class HiveOrcBatchWrapper
- java.lang.Object
-
- org.apache.flink.orc.vector.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>
WrapVectorizedRowBatchhive orc batch.
-
-
Constructor Summary
Constructors Constructor Description HiveOrcBatchWrapper(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatchgetBatch()Get the real batch.intsize()
-
-
-
Method Detail
-
getBatch
public org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch getBatch()
Description copied from interface:OrcVectorizedBatchWrapperGet the real batch.- Specified by:
getBatchin interfaceOrcVectorizedBatchWrapper<org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch>
-
size
public int size()
- Specified by:
sizein interfaceOrcVectorizedBatchWrapper<org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch>- Returns:
- batch size.
-
-