Class UnionDoubleSummarySketchUDAF
- java.lang.Object
-
- org.apache.hadoop.hive.ql.udf.generic.AbstractGenericUDAFResolver
-
- org.apache.datasketches.hive.tuple.UnionSketchUDAF
-
- org.apache.datasketches.hive.tuple.UnionDoubleSummarySketchUDAF
-
- All Implemented Interfaces:
org.apache.hadoop.hive.ql.udf.generic.GenericUDAFResolver,org.apache.hadoop.hive.ql.udf.generic.GenericUDAFResolver2
public class UnionDoubleSummarySketchUDAF extends UnionSketchUDAF
This simple implementation is to give an example of a concrete UDAF based on the abstract UnionSketchUDAF if no extra arguments are needed.. The same functionality is included into UnionDoubleSummaryWithModeSketchUDAF with the default summary mode of Sum, but the implementation is more complex because of the extra argument.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnionDoubleSummarySketchUDAF.UnionDoubleSummarySketchEvaluator-
Nested classes/interfaces inherited from class org.apache.datasketches.hive.tuple.UnionSketchUDAF
UnionSketchUDAF.UnionSketchEvaluator<S extends org.apache.datasketches.tuple.Summary>
-
-
Constructor Summary
Constructors Constructor Description UnionDoubleSummarySketchUDAF()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluatorcreateEvaluator()This is needed because a concrete UDAF is going to have its own concrete evaluator static inner class.-
Methods inherited from class org.apache.datasketches.hive.tuple.UnionSketchUDAF
checkExtraArguments, getEvaluator
-
-
-
-
Method Detail
-
createEvaluator
public org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator createEvaluator()
Description copied from class:UnionSketchUDAFThis is needed because a concrete UDAF is going to have its own concrete evaluator static inner class.- Specified by:
createEvaluatorin classUnionSketchUDAF- Returns:
- an instance of evaluator
-
-