Class GetNFromDoublesSketchUDF
- java.lang.Object
-
- org.apache.hadoop.hive.ql.exec.UDF
-
- org.apache.datasketches.hive.quantiles.GetNFromDoublesSketchUDF
-
public class GetNFromDoublesSketchUDF extends org.apache.hadoop.hive.ql.exec.UDF
-
-
Constructor Summary
Constructors Constructor Description GetNFromDoublesSketchUDF()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Longevaluate(org.apache.hadoop.io.BytesWritable serializedSketch)Returns N from a given sketch
-
-
-
Method Detail
-
evaluate
public Long evaluate(org.apache.hadoop.io.BytesWritable serializedSketch)
Returns N from a given sketch- Parameters:
serializedSketch- serialized sketch- Returns:
- stream length
-
-