public class GetPmfFromDoublesSketchUDF
extends org.apache.hadoop.hive.ql.exec.UDF
Constructor and Description |
---|
GetPmfFromDoublesSketchUDF() |
Modifier and Type | Method and Description |
---|---|
List<Double> |
evaluate(org.apache.hadoop.io.BytesWritable serializedSketch,
Double... splitPoints)
Returns a list of fractions (PMF) from a given sketch
|
public List<Double> evaluate(org.apache.hadoop.io.BytesWritable serializedSketch, Double... splitPoints)
serializedSketch
- serialized sketchsplitPoints
- list of unique and monotonically increasing valuesCopyright © 2015–2019 The Apache Software Foundation. All rights reserved.