public class VectorAssignRow extends Object
Constructor and Description |
---|
VectorAssignRow() |
Modifier and Type | Method and Description |
---|---|
void |
assignConvertRowColumn(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch,
int batchIndex,
int logicalColumnIndex,
Object object)
Convert row's column object and then assign it the ColumnVector at batchIndex
in the VectorizedRowBatch.
|
void |
assignRow(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch,
int batchIndex,
List<Object> standardObjects,
int columnCount) |
void |
assignRow(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch,
int batchIndex,
Object[] objects) |
void |
assignRowColumn(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch,
int batchIndex,
int logicalColumnIndex,
Object object)
Assign a row's column object to the ColumnVector at batchIndex in the VectorizedRowBatch.
|
void |
init(List<String> typeNames) |
void |
init(StructObjectInspector structObjectInspector) |
void |
init(StructObjectInspector structObjectInspector,
List<Integer> projectedColumns) |
int |
initConversion(TypeInfo[] sourceTypeInfos,
TypeInfo[] targetTypeInfos,
boolean[] columnsToIncludeTruncated)
Initialize for conversion from a provided (source) data types to the target data types
desired in the VectorizedRowBatch.
|
public void init(StructObjectInspector structObjectInspector, List<Integer> projectedColumns) throws HiveException
HiveException
public void init(StructObjectInspector structObjectInspector) throws HiveException
HiveException
public void init(List<String> typeNames) throws HiveException
HiveException
public int initConversion(TypeInfo[] sourceTypeInfos, TypeInfo[] targetTypeInfos, boolean[] columnsToIncludeTruncated)
sourceTypeInfos
- targetTypeInfos
- columnsToIncludeTruncated
- Flag array indicating which columns are to be included.
"Truncated" because all false entries on the end of the array have been
eliminated.public void assignRowColumn(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch, int batchIndex, int logicalColumnIndex, Object object)
batch
- batchIndex
- logicalColumnIndex
- object
- The row column object whose type is the target data type.public void assignConvertRowColumn(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch, int batchIndex, int logicalColumnIndex, Object object)
batch
- batchIndex
- logicalColumnIndex
- object
- The row column object whose type is the VectorAssignRow.initConversion
source data type.public void assignRow(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch, int batchIndex, Object[] objects)
Copyright © 2021 The Apache Software Foundation. All rights reserved.