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>
WrapVectorizedRowBatch
hive 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.VectorizedRowBatch
getBatch()
Get the real batch.int
size()
-
-
-
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 interfaceOrcVectorizedBatchWrapper<org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch>
-
size
public int size()
- Specified by:
size
in interfaceOrcVectorizedBatchWrapper<org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch>
- Returns:
- batch size.
-
-