Class SketchToEstimateUDF


  • public class SketchToEstimateUDF
    extends org.apache.hadoop.hive.ql.exec.UDF
    • Constructor Detail

      • SketchToEstimateUDF

        public SketchToEstimateUDF()
    • Method Detail

      • evaluate

        public Double evaluate​(org.apache.hadoop.io.BytesWritable serializedSketch)
        Get an estimate from a given HllSketch
        Parameters:
        serializedSketch - HllSketch in a serialized binary form
        Returns:
        estimate of unique count