org.apache.hadoop.hive.ql.exec.vector.expressions
Class RoundWithNumDigitsDoubleToDouble
java.lang.Object
org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
org.apache.hadoop.hive.ql.exec.vector.expressions.MathFuncDoubleToDouble
org.apache.hadoop.hive.ql.exec.vector.expressions.RoundWithNumDigitsDoubleToDouble
- All Implemented Interfaces:
- Serializable, ISetLongArg
public class RoundWithNumDigitsDoubleToDouble
- extends MathFuncDoubleToDouble
- implements ISetLongArg
- See Also:
- Serialized Form
RoundWithNumDigitsDoubleToDouble
public RoundWithNumDigitsDoubleToDouble(int colNum,
long scalarVal,
int outputColumn)
RoundWithNumDigitsDoubleToDouble
public RoundWithNumDigitsDoubleToDouble()
func
public double func(double d)
getDecimalPlaces
public org.apache.hadoop.io.IntWritable getDecimalPlaces()
setArg
public void setArg(long l)
- Specified by:
setArg
in interface ISetLongArg
getDescriptor
public VectorExpressionDescriptor.Descriptor getDescriptor()
- Specified by:
getDescriptor
in class VectorExpression
Copyright © 2014 The Apache Software Foundation. All rights reserved.