in src/main/java/org/apache/datasketches/hive/kll/GetCdfUDF.java [67:76]
public List<Double> evaluate(final BytesWritable serializedSketch, final Boolean inclusive, final Float... splitPoints) {
if (serializedSketch == null) { return null; }
final KllFloatsSketch sketch =
KllFloatsSketch.heapify(BytesWritableHelper.wrapAsMemory(serializedSketch));
if (sketch.isEmpty()) { return null; }
final double[] cdf = sketch.getCDF(Util.objectsToPrimitives(splitPoints),
inclusive ? QuantileSearchCriteria.INCLUSIVE : QuantileSearchCriteria.EXCLUSIVE);
if (cdf == null) { return null; }
return Util.primitivesToList(cdf);
}