public class GetQuantilesFromStringsSketchUDF
extends org.apache.hadoop.hive.ql.exec.UDF
| Constructor and Description |
|---|
GetQuantilesFromStringsSketchUDF() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
evaluate(org.apache.hadoop.io.BytesWritable serializedSketch,
Double... fractions)
Returns a list of quantile values from a given sketch
|
List<String> |
evaluate(org.apache.hadoop.io.BytesWritable serializedSketch,
int number)
Returns a list of quantile values from a given sketch
|
public List<String> evaluate(org.apache.hadoop.io.BytesWritable serializedSketch, Double... fractions)
serializedSketch - serialized sketchfractions - list of values from 0 to 1 inclusiveCopyright © 2015–2020 The Apache Software Foundation. All rights reserved.