public class GetQuantileFromDoublesSketchUDF
extends org.apache.hadoop.hive.ql.exec.UDF
| Constructor and Description |
|---|
GetQuantileFromDoublesSketchUDF() |
| Modifier and Type | Method and Description |
|---|---|
Double |
evaluate(org.apache.hadoop.io.BytesWritable serializedSketch,
double fraction)
Returns a quantile value from a given sketch
|
public Double evaluate(org.apache.hadoop.io.BytesWritable serializedSketch, double fraction)
serializedSketch - serialized sketchfraction - value from 0 to 1 inclusiveCopyright © 2015–2019 The Apache Software Foundation. All rights reserved.