public class GenericUDFOPPositive extends GenericUDFBaseUnary
GenericUDF.DeferredJavaObject, GenericUDF.DeferredObject
byteWritable, converter, decimalWritable, doubleWritable, floatWritable, intervalDayTimeWritable, intervalYearMonthWritable, intWritable, longWritable, opDisplayName, opName, resultOI, shortWritable
Constructor and Description |
---|
GenericUDFOPPositive() |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(GenericUDF.DeferredObject[] arguments)
Evaluate the GenericUDF with the arguments.
|
getDisplayString, initialize
checkArgGroups, checkArgPrimitive, checkArgsSize, close, configure, copyToNewInstance, flip, getArgOrder, getConstantIntValue, getConstantLongValue, getConstantStringValue, getDateValue, getDoubleValue, getFuncName, getIntValue, getLongValue, getRequiredFiles, getRequiredJars, getStandardDisplayString, getStandardDisplayString, getStringValue, getTimestampValue, getUdfName, initializeAndFoldConstants, negative, obtainDateConverter, obtainDoubleConverter, obtainIntConverter, obtainLongConverter, obtainStringConverter, obtainTimestampConverter
public Object evaluate(GenericUDF.DeferredObject[] arguments) throws HiveException
GenericUDF
evaluate
in class GenericUDF
arguments
- The arguments as DeferedObject, use DeferedObject.get() to get the
actual argument Object. The Objects can be inspected by the
ObjectInspectors passed in the initialize call.HiveException
Copyright © 2017 The Apache Software Foundation. All rights reserved.