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
HiveExceptionpublic static VectorColumnAssign buildObjectAssign(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch outputBatch, int outColIndex, ObjectInspector objInspector) throws HiveException
HiveExceptionpublic static VectorColumnAssign buildObjectAssign(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch outputBatch, int outColIndex, PrimitiveObjectInspector.PrimitiveCategory category) throws HiveException
HiveExceptionpublic 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 theHiveExceptionpublic static VectorColumnAssign[] buildAssigners(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch outputBatch, org.apache.hadoop.io.Writable[] writables) throws HiveException
HiveExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.