Package org.apache.datasketches.hive.hll
Class SketchToStringUDF
- java.lang.Object
-
- org.apache.hadoop.hive.ql.exec.UDF
-
- org.apache.datasketches.hive.hll.SketchToStringUDF
-
public class SketchToStringUDF extends org.apache.hadoop.hive.ql.exec.UDF
-
-
Constructor Summary
Constructors Constructor Description SketchToStringUDF()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringevaluate(org.apache.hadoop.io.BytesWritable serializedSketch)Get a human-readable summary of a given HllSketch
-
-
-
Method Detail
-
evaluate
public String evaluate(org.apache.hadoop.io.BytesWritable serializedSketch)
Get a human-readable summary of a given HllSketch- Parameters:
serializedSketch- HllSketch in a serialized binary form- Returns:
- text summary
-
-