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

Interface Summary
GenericUDAFEvaluator.AggregationBuffer The interface for a class that is used to store the aggregation result during the process of aggregation.
GenericUDAFResolver A Generic User-defined aggregation function (GenericUDAF) for the use with Hive.
GenericUDF.DeferredObject A Defered Object allows us to do lazy-evaluation and short-circuiting.
 

Class Summary
GenericUDAFAverage  
GenericUDAFAverage.GenericUDAFAverageEvaluator  
GenericUDAFBridge This class is a bridge between GenericUDAF and UDAF.
GenericUDAFBridge.GenericUDAFBridgeEvaluator  
GenericUDAFCount This class implements the COUNT aggregation function as in SQL.
GenericUDAFCount.GenericUDAFCountEvaluator  
GenericUDAFEvaluator A Generic User-defined aggregation function (GenericUDAF) for the use with Hive.
GenericUDAFStd Compute the standard deviation by extending GenericUDAFVariance and overriding the terminate() method of the evaluator.
GenericUDAFStd.GenericUDAFStdEvaluator Compute the standard deviation by extending GenericUDAFVarianceEvaluator and overriding the terminate() method of the evaluator.
GenericUDAFStdSample Compute the sample standard deviation by extending GenericUDAFVariance and overriding the terminate() method of the evaluator.
GenericUDAFStdSample.GenericUDAFStdSampleEvaluator Compute the sample standard deviation by extending GenericUDAFVarianceEvaluator and overriding the terminate() method of the evaluator
GenericUDAFSum  
GenericUDAFSum.GenericUDAFSumDouble  
GenericUDAFSum.GenericUDAFSumLong  
GenericUDAFVariance Compute the variance.
GenericUDAFVariance.GenericUDAFVarianceEvaluator Evaluate the variance using the following modification of the formula from The Art of Computer Programming, vol.
GenericUDAFVarianceSample Compute the sample variance by extending GenericUDAFVariance and overriding the terminate() method of the evaluator.
GenericUDAFVarianceSample.GenericUDAFVarianceSampleEvaluator Compute the sample variance by extending GenericUDAFVarianceEvaluator and overriding the terminate() method of the evaluator
GenericUDF A Generic User-defined function (GenericUDF) for the use with Hive.
GenericUDFCase GenericUDF Class for SQL construct "CASE WHEN a THEN b WHEN c THEN d [ELSE f] END".
GenericUDFCoalesce GenericUDF Class for SQL construct "COALESCE(a, b, c)".
GenericUDFElt Generic UDF for string function ELT(N,str1,str2,str3,...).
GenericUDFHash GenericUDF Class for computing hash values.
GenericUDFIf IF(expr1,expr2,expr3)
If expr1 is TRUE (expr1 <> 0 and expr1 <> NULL) then IF() returns expr2; otherwise it returns expr3.
GenericUDFIndex  
GenericUDFInstr Generic UDF for string function INSTR(str,substr).
GenericUDFLocate Generic UDF for string function LOCATE(substr, str), LOCATE(substr, str, start).
GenericUDFOPNotNull  
GenericUDFOPNull  
GenericUDFSize  
GenericUDFSplit  
GenericUDFUtils Util functions for GenericUDF classes.
GenericUDFUtils.PrimitiveConversionHelper Convert primitive parameters between Java and Writable when needed.
GenericUDFUtils.ReturnObjectInspectorResolver This class helps to find the return ObjectInspector for a GenericUDF.
GenericUDFWhen GenericUDF Class for SQL construct "CASE a WHEN b THEN c [ELSE f] END".
 

Enum Summary
GenericUDAFEvaluator.Mode  
 



Copyright © 2009 The Apache Software Foundation