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

Interface Summary
SettableUDF THIS INTERFACE IS UNSTABLE AND SHOULD NOT BE USED BY 3RD PARTY UDFS.
 

Class Summary
GenericUDFDecode  
GenericUDFEncode  
TestGenericUDFDecode  
TestGenericUDFEncode  
TestToInteger  
TestUDFBase64  
TestUDFDateAdd JUnit test for UDFDateAdd.
TestUDFDateDiff JUnit test for UDFDateDiff.
TestUDFDateSub JUnit test for UDFDateSub.
TestUDFHex  
TestUDFUnbase64  
TestUDFUnhex  
UDAFPercentile UDAF for calculating the percentile values.
UDAFPercentile.MyComparator A comparator to sort the entries in order.
UDAFPercentile.PercentileLongArrayEvaluator The evaluator for percentile computation based on long for an array of percentiles.
UDAFPercentile.PercentileLongEvaluator The evaluator for percentile computation based on long.
UDAFPercentile.State A state class to store intermediate aggregation results.
UDAFTestMax UDAFTestMax.
UDAFTestMax.MaxDoubleEvaluator MaxDoubleEvaluator.
UDAFTestMax.MaxFloatEvaluator MaxFloatEvaluator.
UDAFTestMax.MaxIntEvaluator MaxIntEvaluator.
UDAFTestMax.MaxLongEvaluator MaxLongEvaluator.
UDAFTestMax.MaxShortEvaluator MaxShortEvaluator.
UDAFTestMax.MaxStringEvaluator MaxStringEvaluator.
UDAFWrongArgLengthForTestCase UDAFWrongArgLengthForTestCase.
UDAFWrongArgLengthForTestCase.UDAFWrongArgLengthForTestCaseEvaluator UDAFWrongArgLengthForTestCaseEvaluator.
UDFAbs UDFAbs.
UDFAcos UDFAcos.
UDFAscii UDFAscii.
UDFAsin UDFAsin.
UDFAtan  
UDFBase64  
UDFBaseBitOP Base class for numeric operators like +, -, / etc.
UDFBaseNumericOp Base class for numeric operators like +, -, / etc.
UDFBaseNumericUnaryOp Base class for numeric operators like +, -, / etc.
UDFBin UDFBin.
UDFCeil UDFCeil.
UDFConv UDFConv.
UDFCos UDFCos.
UDFDate UDFDate.
UDFDateAdd UDFDateAdd.
UDFDateDiff UDFDateDiff.
UDFDateSub UDFDateSub.
UDFDayOfMonth UDFDayOfMonth.
UDFDegrees  
UDFE  
UDFExp UDFExp.
UDFFindInSet UDFFindInSet.
UDFFloor UDFFloor.
UDFFromUnixTime UDFFromUnixTime.
UDFHex UDFHex.
UDFHour UDFHour.
UDFJson UDFJson.
UDFLength UDFLength.
UDFLike UDFLike.
UDFLn UDFLn.
UDFLog UDFLog.
UDFLog10 UDFLog10.
UDFLog2 UDFLog2.
UDFLpad UDFLpad.
UDFLTrim UDFLTrim.
UDFMinute UDFMinute.
UDFMonth UDFMonth.
UDFOPBitAnd UDFOPBitAnd.
UDFOPBitNot UDFOPBitNot.
UDFOPBitOr UDFOPBitOr.
UDFOPBitXor UDFOPBitXor.
UDFOPDivide UDFOPDivide.
UDFOPLongDivide UDFOPLongDivide.
UDFOPMinus UDFOPMinus.
UDFOPMod UDFOPMod.
UDFOPMultiply UDFOPMultiply.
UDFOPNegative UDFOPNegative.
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 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.
UDFPI  
UDFPosMod class for computing positive modulo.
UDFPower UDFPower.
UDFRadians  
UDFRand UDFRand.
UDFRegExp UDFRegExp.
UDFRegExpExtract UDF to extract a specific group identified by a java regex.
UDFRegExpReplace UDFRegExpReplace.
UDFRepeat UDFRepeat.
UDFReverse UDFReverse.
UDFRound UDFRound.
UDFRpad UDFRpad.
UDFRTrim UDFRTrim.
UDFSecond UDFSecond.
UDFSign  
UDFSin UDFSin.
UDFSpace UDFSpace.
UDFSqrt Implementation of the SQRT UDF found in many databases.
UDFSubstr UDFSubstr.
UDFTan  
UDFTestErrorOnFalse A UDF for testing, which throws RuntimeException if the length of a string.
UDFTestLength A UDF for testing, which evaluates the length of a string.
UDFTestLength2 A UDF for testing, which evaluates the length of a string.
UDFToBoolean UDFToBoolean.
UDFToByte UDFToByte.
UDFToDouble UDFToDouble.
UDFToFloat UDFToFloat.
UDFToInteger UDFToInteger.
UDFToLong UDFToLong.
UDFToShort UDFToShort.
UDFToString UDFToString.
UDFTrim UDFTrim.
UDFUnbase64  
UDFUnhex UDFUnhex.
UDFWeekOfYear UDFWeekOfYear.
UDFYear UDFYear.
 

Annotation Types Summary
UDFType UDFType.
 



Copyright © 2012 The Apache Software Foundation