public class FuncRoundWithNumDigitsDecimalToDecimal extends VectorExpression
childExpressions, inputDataTypePhysicalVariations, inputTypeInfos, outputColumnNum, outputDataTypePhysicalVariation, outputTypeInfo
Constructor and Description |
---|
FuncRoundWithNumDigitsDecimalToDecimal() |
FuncRoundWithNumDigitsDecimalToDecimal(int colNum,
int scalarValue,
int outputColumnNum) |
Modifier and Type | Method and Description |
---|---|
void |
evaluate(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch)
This is the primary method to implement expression logic.
|
VectorExpressionDescriptor.Descriptor |
getDescriptor() |
protected void |
round(int i,
org.apache.hadoop.hive.serde2.io.HiveDecimalWritable input,
int decimalPlaces,
org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector outputColVector) |
String |
vectorExpressionParameters() |
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
public FuncRoundWithNumDigitsDecimalToDecimal(int colNum, int scalarValue, int outputColumnNum)
public FuncRoundWithNumDigitsDecimalToDecimal()
public void evaluate(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch) throws HiveException
VectorExpression
evaluate
in class VectorExpression
HiveException
public String vectorExpressionParameters()
vectorExpressionParameters
in class VectorExpression
public VectorExpressionDescriptor.Descriptor getDescriptor()
getDescriptor
in class VectorExpression
protected void round(int i, org.apache.hadoop.hive.serde2.io.HiveDecimalWritable input, int decimalPlaces, org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector outputColVector)
Copyright © 2019 The Apache Software Foundation. All rights reserved.