org.apache.hadoop.hive.ql.exec.vector
Class VectorColumnAssignFactory
java.lang.Object
org.apache.hadoop.hive.ql.exec.vector.VectorColumnAssignFactory
public class VectorColumnAssignFactory
- extends Object
This class is used as a static factory for VectorColumnAssign.
Is capable of building assigners from expression nodes or from object inspectors.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VectorColumnAssignFactory
public VectorColumnAssignFactory()
buildAssigners
public static VectorColumnAssign[] buildAssigners(VectorizedRowBatch outputBatch)
throws HiveException
- Throws:
HiveException
buildObjectAssign
public static VectorColumnAssign buildObjectAssign(VectorizedRowBatch outputBatch,
int outColIndex,
ObjectInspector objInspector)
throws HiveException
- Throws:
HiveException
buildAssigners
public static VectorColumnAssign[] buildAssigners(VectorizedRowBatch outputBatch,
ObjectInspector outputOI,
Map<String,Integer> columnMap,
List<String> outputColumnNames)
throws HiveException
- Builds the assigners from an object inspector and from a list of columns.
- Parameters:
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 the
- Returns:
-
- Throws:
HiveException
Copyright © 2014 The Apache Software Foundation. All rights reserved.