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 org.apache.hadoop.hive.serde2.io.HiveDecimalWritable |
round(org.apache.hadoop.hive.serde2.io.HiveDecimalWritable inputDecWritable,
int scale) |
protected long |
round(long input,
int scale) |
evaluate, initialize
checkArgGroups, checkArgPrimitive, checkArgsSize, close, configure, copyToNewInstance, flip, getArgOrder, getConstantBooleanValue, getConstantIntValue, getConstantStringValue, getDateValue, getDoubleValue, getFuncName, getIntValue, getLongValue, getRequiredFiles, getRequiredJars, getStandardDisplayString, getStandardDisplayString, getStringValue, getTimestampValue, getUdfName, initializeAndFoldConstants, negative, obtainDateConverter, obtainDoubleConverter, obtainIntConverter, obtainLongConverter, obtainStringConverter, obtainTimestampConverter
protected org.apache.hadoop.hive.serde2.io.HiveDecimalWritable round(org.apache.hadoop.hive.serde2.io.HiveDecimalWritable inputDecWritable, 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 © 2021 The Apache Software Foundation. All rights reserved.