public class VectorColumnAssignFactory extends Object
Constructor and Description |
---|
VectorColumnAssignFactory() |
Modifier and Type | Method and Description |
---|---|
static VectorColumnAssign[] |
buildAssigners(VectorizedRowBatch outputBatch) |
static VectorColumnAssign[] |
buildAssigners(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(VectorizedRowBatch outputBatch,
org.apache.hadoop.io.Writable[] writables) |
static VectorColumnAssign |
buildObjectAssign(VectorizedRowBatch outputBatch,
int outColIndex,
ObjectInspector objInspector) |
static VectorColumnAssign |
buildObjectAssign(VectorizedRowBatch outputBatch,
int outColIndex,
PrimitiveObjectInspector.PrimitiveCategory category) |
public static VectorColumnAssign[] buildAssigners(VectorizedRowBatch outputBatch) throws HiveException
HiveException
public static VectorColumnAssign buildObjectAssign(VectorizedRowBatch outputBatch, int outColIndex, ObjectInspector objInspector) throws HiveException
HiveException
public static VectorColumnAssign buildObjectAssign(VectorizedRowBatch outputBatch, int outColIndex, PrimitiveObjectInspector.PrimitiveCategory category) throws HiveException
HiveException
public static VectorColumnAssign[] buildAssigners(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(VectorizedRowBatch outputBatch, org.apache.hadoop.io.Writable[] writables) throws HiveException
HiveException
Copyright © 2017 The Apache Software Foundation. All rights reserved.