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, initializecheckArgGroups, checkArgPrimitive, checkArgsSize, close, configure, copyToNewInstance, flip, getArgOrder, getConstantBooleanValue, getConstantIntValue, getConstantStringValue, getDateValue, getDoubleValue, getFuncName, getIntervalDayTimeValue, getIntervalYearMonthValue, getIntValue, getLongValue, getRequiredFiles, getRequiredJars, getStandardDisplayString, getStandardDisplayString, getStringValue, getTimestampValue, getUdfName, initializeAndFoldConstants, negative, obtainDateConverter, obtainDoubleConverter, obtainIntConverter, obtainLongConverter, obtainStringConverter, obtainTimestampConverterprotected org.apache.hadoop.hive.serde2.io.HiveDecimalWritable round(org.apache.hadoop.hive.serde2.io.HiveDecimalWritable inputDecWritable,
int scale)
round in class GenericUDFRoundprotected long round(long input,
int scale)
round in class GenericUDFRoundprotected double round(double input,
int scale)
round in class GenericUDFRoundprotected DoubleWritable round(DoubleWritable input, int scale)
round in class GenericUDFRoundpublic String getDisplayString(String[] children)
GenericUDFgetDisplayString in class GenericUDFRoundCopyright © 2019 The Apache Software Foundation. All Rights Reserved.