public abstract class MathFuncDoubleToDouble extends VectorExpression
Modifier and Type | Field and Description |
---|---|
protected int |
colNum |
childExpressions, inputDataTypePhysicalVariations, inputTypeInfos, outputColumnNum, outputDataTypePhysicalVariation, outputTypeInfo
Constructor and Description |
---|
MathFuncDoubleToDouble() |
MathFuncDoubleToDouble(int colNum,
int outputColumnNum) |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(org.apache.hadoop.hive.ql.exec.vector.DoubleColumnVector outputColVector,
int[] sel,
boolean selectedInUse,
int n) |
void |
evaluate(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch)
This is the primary method to implement expression logic.
|
protected abstract double |
func(double d) |
String |
vectorExpressionParameters() |
displayArrayOfUtf8ByteArrays, displayUtf8Bytes, doTransientInit, doTransientInit, evaluateChildren, getChildExpressions, getColumnParamString, getDescriptor, getDoubleValueParamString, getInputDataTypePhysicalVariations, getInputTypeInfos, getLongValueParamString, getOutputColumnNum, getOutputColumnVectorType, getOutputDataTypePhysicalVariation, getOutputTypeInfo, getParamTypeString, getTypeName, init, setChildExpressions, setInputDataTypePhysicalVariations, setInputTypeInfos, setOutputDataTypePhysicalVariation, setOutputTypeInfo, supportsCheckedExecution, toString, transientInit
public MathFuncDoubleToDouble(int colNum, int outputColumnNum)
public MathFuncDoubleToDouble()
protected abstract double func(double d)
public void evaluate(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch) throws HiveException
VectorExpression
evaluate
in class VectorExpression
HiveException
protected void cleanup(org.apache.hadoop.hive.ql.exec.vector.DoubleColumnVector outputColVector, int[] sel, boolean selectedInUse, int n)
public String vectorExpressionParameters()
vectorExpressionParameters
in class VectorExpression
Copyright © 2019 The Apache Software Foundation. All rights reserved.