Class 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.
    • Constructor Detail

      • UnionDoubleSummarySketchUDAF

        public UnionDoubleSummarySketchUDAF()
    • Method Detail

      • createEvaluator

        public org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator createEvaluator()
        Description copied from class: UnionSketchUDAF
        This is needed because a concrete UDAF is going to have its own concrete evaluator static inner class.
        Specified by:
        createEvaluator in class UnionSketchUDAF
        Returns:
        an instance of evaluator