public class RoundWithNumDigitsDoubleToDouble extends MathFuncDoubleToDouble implements ISetLongArg
VectorExpression.Type
childExpressions, inputTypes, outputType
Constructor and Description |
---|
RoundWithNumDigitsDoubleToDouble() |
RoundWithNumDigitsDoubleToDouble(int colNum,
long scalarVal,
int outputColumn) |
Modifier and Type | Method and Description |
---|---|
double |
func(double d) |
org.apache.hadoop.io.IntWritable |
getDecimalPlaces() |
VectorExpressionDescriptor.Descriptor |
getDescriptor() |
void |
setArg(long l) |
cleanup, evaluate, getColNum, getOutputColumn, getOutputType, setColNum, setOutputColumn
evaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toString
public RoundWithNumDigitsDoubleToDouble(int colNum, long scalarVal, int outputColumn)
public RoundWithNumDigitsDoubleToDouble()
public double func(double d)
func
in class MathFuncDoubleToDouble
public org.apache.hadoop.io.IntWritable getDecimalPlaces()
public void setArg(long l)
setArg
in interface ISetLongArg
public VectorExpressionDescriptor.Descriptor getDescriptor()
getDescriptor
in class VectorExpression
Copyright © 2016 The Apache Software Foundation. All rights reserved.