Package org.apache.hadoop.hive.ql.udf

Class Summary
UDAFAvg  
UDAFAvg.UDAFAvgEvaluator  
UDAFCount  
UDAFCount.UDAFCountEvaluator  
UDAFMax  
UDAFMax.MaxDoubleEvaluator  
UDAFMax.MaxFloatEvaluator  
UDAFMax.MaxIntEvaluator  
UDAFMax.MaxLongEvaluator  
UDAFMax.MaxShortEvaluator  
UDAFMax.MaxStringEvaluator  
UDAFMin  
UDAFMin.MinDoubleEvaluator  
UDAFMin.MinFloatEvaluator  
UDAFMin.MinIntEvaluator  
UDAFMin.MinLongEvaluator  
UDAFMin.MinShortEvaluator  
UDAFMin.MinStringEvaluator  
UDAFSum  
UDAFSum.UDAFSumEvaluator  
UDFAbs  
UDFAcos  
UDFAscii  
UDFAsin  
UDFBaseBitOP Base class for numeric operators like +, -, / etc.
UDFBaseCompare  
UDFBaseNumericOp Base class for numeric operators like +, -, / etc.
UDFBaseNumericUnaryOp Base class for numeric operators like +, -, / etc.
UDFBin  
UDFCeil  
UDFConcat  
UDFConv  
UDFCos  
UDFDate  
UDFDateAdd  
UDFDateDiff  
UDFDateSub  
UDFDayOfMonth  
UDFExp  
UDFFloor  
UDFFromUnixTime  
UDFHex  
UDFJson  
UDFLength  
UDFLike  
UDFLn  
UDFLog  
UDFLog10  
UDFLog2  
UDFLower  
UDFLpad  
UDFLTrim  
UDFMonth  
UDFOPAnd  
UDFOPBitAnd  
UDFOPBitNot  
UDFOPBitOr  
UDFOPBitXor  
UDFOPDivide  
UDFOPEqual The reason that we list evaluate methods with all numeric types is for better performance; otherwise a single method that takes (Number a, Number b) and use a.doubleValue() == b.doubleValue() is enough.
UDFOPEqualOrGreaterThan  
UDFOPEqualOrLessThan  
UDFOPGreaterThan  
UDFOPLessThan  
UDFOPLongDivide  
UDFOPMinus  
UDFOPMod  
UDFOPMultiply  
UDFOPNegative  
UDFOPNot  
UDFOPNotEqual  
UDFOPOr  
UDFOPPlus The reason that we list evaluate methods with all numeric types is for both better performance and type checking (so we know int + int is still an int instead of a double); otherwise a single method that takes (Number a, Number b) and use a.doubleValue() == b.doubleValue() is enough.
UDFOPPositive  
UDFParseUrl UDF to extract specfic parts from URL For example, parse_url('http://facebook.com/path/p1.php?query=1', 'HOST') will return 'facebook.com' For example, parse_url('http://facebook.com/path/p1.php?query=1', 'PATH') will return '/path/p1.php' parse_url('http://facebook.com/path/p1.php?query=1', 'QUERY') will return 'query=1' parse_url('http://facebook.com/path/p1.php?query=1#Ref', 'REF') will return 'Ref' parse_url('http://facebook.com/path/p1.php?query=1#Ref', 'PROTOCOL') will return 'http' Possible values are HOST,PATH,QUERY,REF,PROTOCOL,AUTHORITY,FILE,USERINFO Also you can get a value of particular key in QUERY, using syntax QUERY: eg: QUERY:k1.
UDFPosMod class for computing positive modulo.
UDFPower  
UDFRand  
UDFRegExp  
UDFRegExpExtract UDF to extract a specific group identified by a java regex.
UDFRegExpReplace  
UDFRepeat  
UDFReverse  
UDFRound  
UDFRpad  
UDFRTrim  
UDFSin  
UDFSpace  
UDFSqrt Implementation of the SQRT UDF found in many databases.
UDFSubstr  
UDFToBoolean  
UDFToByte  
UDFToDate  
UDFToDouble  
UDFToFloat  
UDFToInteger  
UDFToLong  
UDFToShort  
UDFToString  
UDFTrim  
UDFUnixTimeStamp  
UDFUpper  
UDFYear  
 

Annotation Types Summary
UDFType  
 



Copyright © 2009 The Apache Software Foundation