public class GenericUDFBRound extends GenericUDFRound
GenericUDF.DeferredJavaObject, GenericUDF.DeferredObject
Constructor and Description |
---|
GenericUDFBRound() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayString(String[] children)
Get the String to be displayed in explain.
|
protected double |
round(double input,
int scale) |
protected DoubleWritable |
round(DoubleWritable input,
int scale) |
protected HiveDecimal |
round(HiveDecimal input,
int scale) |
protected long |
round(long input,
int scale) |
evaluate, initialize
checkArgGroups, checkArgPrimitive, checkArgsSize, close, configure, copyToNewInstance, flip, getArgOrder, getConstantIntValue, getConstantStringValue, getDateValue, getDoubleValue, getFuncName, getIntValue, getLongValue, getRequiredFiles, getRequiredJars, getStandardDisplayString, getStandardDisplayString, getStringValue, getTimestampValue, getUdfName, initializeAndFoldConstants, negative, obtainDateConverter, obtainDoubleConverter, obtainIntConverter, obtainLongConverter, obtainStringConverter, obtainTimestampConverter
protected HiveDecimal round(HiveDecimal input, int scale)
round
in class GenericUDFRound
protected long round(long input, int scale)
round
in class GenericUDFRound
protected double round(double input, int scale)
round
in class GenericUDFRound
protected DoubleWritable round(DoubleWritable input, int scale)
round
in class GenericUDFRound
public String getDisplayString(String[] children)
GenericUDF
getDisplayString
in class GenericUDFRound
Copyright © 2016 The Apache Software Foundation. All rights reserved.