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 HiveDecimalWritable |
round(HiveDecimalWritable inputDecWritable,
int scale) |
protected long |
round(long input,
int scale) |
evaluate, initializeadapt, checkArgGroups, 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 HiveDecimalWritable round(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 © 2022 The Apache Software Foundation. All rights reserved.