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, vectorExpressionParametersprotected 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
HiveExceptionpublic void evaluate(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch)
throws HiveException
VectorExpressionevaluate in class VectorExpressionHiveExceptionpublic VectorExpressionDescriptor.Descriptor getDescriptor()
getDescriptor in class VectorExpressionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.