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

Interface Summary
Collector Collector gets data from a source.
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.
GenericUDFArray  
GenericUDFBridge GenericUDFBridge encapsulates UDF to provide the same interface as GenericUDF.
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)".
GenericUDFConcatWS Generic UDF for string function CONCAT_WS(sep,str1,str2,str3,...).
GenericUDFElt Generic UDF for string function ELT(N,str1,str2,str3,...).
GenericUDFField  
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).
GenericUDFMap  
GenericUDFOPNotNull  
GenericUDFOPNull  
GenericUDFSize  
GenericUDFSplit  
GenericUDFUtils Util functions for GenericUDF classes.
GenericUDFUtils.ConversionHelper Convert parameters for the method if 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".
GenericUDTF A Generic User-defined Table Generating Function (UDTF) Generates a variable number of output rows for a single input row.
GenericUDTFExplode  
UDTFCollector UDTFCollector collects data from a GenericUDTF and passes the data to a UDTFOperator
 

Enum Summary
GenericUDAFEvaluator.Mode  
 



Copyright © 2009 The Apache Software Foundation