public abstract class IfExprCondExprBase extends VectorExpression
Modifier and Type | Field and Description |
---|---|
protected int |
arg1Column |
protected int[] |
elseSelected |
protected int |
elseSelectedCount |
protected boolean |
isIfStatementResultRepeated |
protected boolean |
isIfStatementResultThen |
protected int[] |
thenSelected |
protected int |
thenSelectedCount |
childExpressions, inputDataTypePhysicalVariations, inputTypeInfos, outputColumnNum, outputDataTypePhysicalVariation, outputTypeInfo
Constructor and Description |
---|
IfExprCondExprBase() |
IfExprCondExprBase(int arg1Column,
int outputColumnNum) |
Modifier and Type | Method and Description |
---|---|
void |
conditionalEvaluate(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch,
VectorExpression condVecExpr,
int[] condSelected,
int condSize) |
void |
evaluate(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch)
This is the primary method to implement expression logic.
|
VectorExpressionDescriptor.Descriptor |
getDescriptor() |
displayArrayOfUtf8ByteArrays, displayUtf8Bytes, doTransientInit, doTransientInit, evaluateChildren, getChildExpressions, getColumnParamString, getDoubleValueParamString, getInputDataTypePhysicalVariations, getInputTypeInfos, getLongValueParamString, getOutputColumnNum, getOutputColumnVectorType, getOutputDataTypePhysicalVariation, getOutputTypeInfo, getParamTypeString, getTypeName, init, setChildExpressions, setInputDataTypePhysicalVariations, setInputTypeInfos, setOutputDataTypePhysicalVariation, setOutputTypeInfo, supportsCheckedExecution, toString, transientInit, vectorExpressionParameters
protected final int arg1Column
protected transient boolean isIfStatementResultRepeated
protected transient boolean isIfStatementResultThen
protected transient int thenSelectedCount
protected transient int[] thenSelected
protected transient int elseSelectedCount
protected transient int[] elseSelected
public IfExprCondExprBase(int arg1Column, int outputColumnNum)
public IfExprCondExprBase()
public void conditionalEvaluate(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch, VectorExpression condVecExpr, int[] condSelected, int condSize) throws HiveException
HiveException
public void evaluate(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch) throws HiveException
VectorExpression
evaluate
in class VectorExpression
HiveException
public VectorExpressionDescriptor.Descriptor getDescriptor()
getDescriptor
in class VectorExpression
Copyright © 2022 The Apache Software Foundation. All rights reserved.