public class GenericUDFOPGreaterThan extends GenericUDFBaseCompare
GenericUDFBaseCompare.CompareType
GenericUDF.DeferredJavaObject, GenericUDF.DeferredObject
argumentOIs, boi0, boi1, byoi0, byoi1, compareOI, compareType, conversionHelper, converter0, converter1, ioi0, ioi1, loi0, loi1, result, soi0, soi1
opDisplayName, opName
Constructor and Description |
---|
GenericUDFOPGreaterThan() |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(GenericUDF.DeferredObject[] arguments)
Evaluate the GenericUDF with the arguments.
|
GenericUDF |
flip()
Some functions like comparisons may be affected by appearing order of arguments.
|
GenericUDF |
negative()
Gets the negative function of the current one.
|
compare, initialize
getDisplayString
checkArgGroups, checkArgPrimitive, checkArgsSize, close, configure, copyToNewInstance, getArgOrder, getConstantIntValue, getConstantLongValue, getConstantStringValue, getDateValue, getDoubleValue, getFuncName, getIntValue, getLongValue, getRequiredFiles, getRequiredJars, getStandardDisplayString, getStandardDisplayString, getStringValue, getTimestampValue, getUdfName, initializeAndFoldConstants, 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
public GenericUDF flip()
GenericUDF
flip
in class GenericUDF
public GenericUDF negative()
GenericUDF
negative
in class GenericUDF
Copyright © 2017 The Apache Software Foundation. All rights reserved.