Class ArrayOfDoublesSketchToEstimatesUDF


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

      • ArrayOfDoublesSketchToEstimatesUDF

        public ArrayOfDoublesSketchToEstimatesUDF()
    • Method Detail

      • evaluate

        public List<Double> evaluate​(org.apache.hadoop.io.BytesWritable serializedSketch)
        Get estimates from a given ArrayOfDoublesSketch
        Parameters:
        serializedSketch - ArrayOfDoublesSketch in as serialized binary
        Returns:
        list of estimates