Class ArrayOfDoublesSketchToEstimateAndErrorBoundsUDF


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

      • ArrayOfDoublesSketchToEstimateAndErrorBoundsUDF

        public ArrayOfDoublesSketchToEstimateAndErrorBoundsUDF()
    • Method Detail

      • evaluate

        public List<Double> evaluate​(org.apache.hadoop.io.BytesWritable serializedSketch)
        Get estimate, lower and upper bounds from a given ArrayOfDoublesSketch
        Parameters:
        serializedSketch - ArrayOfDoublesSketch in as serialized binary
        Returns:
        estimate, lower bound and upper bound