public abstract class VectorUDFMapIndexBase extends VectorExpression
childExpressions, inputDataTypePhysicalVariations, inputTypeInfos, outputColumnNum, outputDataTypePhysicalVariation, outputTypeInfo
Constructor and Description |
---|
VectorUDFMapIndexBase() |
VectorUDFMapIndexBase(int outputColumnNum) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
compareKey(Object columnKey,
Object otherKey) |
protected boolean |
compareKeyInternal(Object columnKey,
Object otherKey) |
protected int[] |
getMapValueIndex(org.apache.hadoop.hive.ql.exec.vector.MapColumnVector mapV,
org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch)
The index array of MapColumnVector is used to get the value from MapColumnVector based on the
index, the following are the steps to get it:
1.
|
displayArrayOfUtf8ByteArrays, displayUtf8Bytes, doTransientInit, doTransientInit, evaluate, evaluateChildren, getChildExpressions, getColumnParamString, getDescriptor, getDoubleValueParamString, getInputDataTypePhysicalVariations, getInputTypeInfos, getLongValueParamString, getOutputColumnNum, getOutputColumnVectorType, getOutputDataTypePhysicalVariation, getOutputTypeInfo, getParamTypeString, getTypeName, init, setChildExpressions, setInputDataTypePhysicalVariations, setInputTypeInfos, setOutputDataTypePhysicalVariation, setOutputTypeInfo, supportsCheckedExecution, toString, transientInit, vectorExpressionParameters
public VectorUDFMapIndexBase()
public VectorUDFMapIndexBase(int outputColumnNum)
protected int[] getMapValueIndex(org.apache.hadoop.hive.ql.exec.vector.MapColumnVector mapV, org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch)
Copyright © 2022 The Apache Software Foundation. All rights reserved.