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>
Wrap
VectorizedRowBatch hive orc batch.-
Constructor Summary
ConstructorsConstructorDescriptionHiveOrcBatchWrapper(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch) -
Method Summary
-
Constructor Details
-
HiveOrcBatchWrapper
public HiveOrcBatchWrapper(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch)
-
-
Method Details
-
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.
-