public class VectorColumnAssignFactory extends Object
Constructor and Description |
---|
VectorColumnAssignFactory() |
Modifier and Type | Method and Description |
---|---|
static VectorColumnAssign[] |
buildAssigners(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch outputBatch) |
static VectorColumnAssign[] |
buildAssigners(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch outputBatch,
ObjectInspector outputOI,
Map<String,Integer> columnMap,
List<String> outputColumnNames)
Builds the assigners from an object inspector and from a list of columns.
|
static VectorColumnAssign[] |
buildAssigners(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch outputBatch,
org.apache.hadoop.io.Writable[] writables) |
static VectorColumnAssign |
buildObjectAssign(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch outputBatch,
int outColIndex,
ObjectInspector objInspector) |
static VectorColumnAssign |
buildObjectAssign(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch outputBatch,
int outColIndex,
PrimitiveObjectInspector.PrimitiveCategory category) |
public static VectorColumnAssign[] buildAssigners(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch outputBatch) throws HiveException
HiveException
public static VectorColumnAssign buildObjectAssign(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch outputBatch, int outColIndex, ObjectInspector objInspector) throws HiveException
HiveException
public static VectorColumnAssign buildObjectAssign(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch outputBatch, int outColIndex, PrimitiveObjectInspector.PrimitiveCategory category) throws HiveException
HiveException
public static VectorColumnAssign[] buildAssigners(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch outputBatch, ObjectInspector outputOI, Map<String,Integer> columnMap, List<String> outputColumnNames) throws HiveException
outputBatch
- The batch to which the assigners are boundoutputOI
- The row object inspectorcolumnMap
- Vector column mapoutputColumnNames
- Column names, used both to find the vector columns and theHiveException
public static VectorColumnAssign[] buildAssigners(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch outputBatch, org.apache.hadoop.io.Writable[] writables) throws HiveException
HiveException
Copyright © 2022 The Apache Software Foundation. All rights reserved.