public class VectorExtractRow extends Object
Constructor and Description |
---|
VectorExtractRow() |
Modifier and Type | Method and Description |
---|---|
void |
extractRow(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch,
int batchIndex,
Object[] objects)
Extract an row object from a VectorizedRowBatch at batchIndex.
|
Object |
extractRowColumn(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch,
int batchIndex,
int logicalColumnIndex)
Extract a row's column object from the ColumnVector at batchIndex in the VectorizedRowBatch.
|
int |
getCount() |
void |
init(List<String> typeNames) |
void |
init(StructObjectInspector structObjectInspector,
List<Integer> projectedColumns) |
void |
init(TypeInfo[] typeInfos,
int[] projectedColumns) |
public void init(StructObjectInspector structObjectInspector, List<Integer> projectedColumns) throws HiveException
HiveException
public void init(TypeInfo[] typeInfos, int[] projectedColumns) throws HiveException
HiveException
public void init(List<String> typeNames) throws HiveException
HiveException
public int getCount()
public Object extractRowColumn(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch, int batchIndex, int logicalColumnIndex)
batch
- batchIndex
- logicalColumnIndex
- public void extractRow(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch, int batchIndex, Object[] objects)
batch
- batchIndex
- objects
- Copyright © 2021 The Apache Software Foundation. All rights reserved.