public class EstimateSketchUDF
extends org.apache.hadoop.hive.ql.exec.UDF
| Constructor and Description |
|---|
EstimateSketchUDF() |
| Modifier and Type | Method and Description |
|---|---|
Double |
evaluate(org.apache.hadoop.io.BytesWritable binarySketch)
Returns the estimate unique count of sketch.
|
Double |
evaluate(org.apache.hadoop.io.BytesWritable binarySketch,
long seed)
Returns the estimate unique count of sketch.
|
public Double evaluate(org.apache.hadoop.io.BytesWritable binarySketch)
binarySketch - sketch to be estimated passed in as bytes writable.public Double evaluate(org.apache.hadoop.io.BytesWritable binarySketch, long seed)
binarySketch - sketch to be estimated passed in as bytes writable.seed - value used to build the sketch if different from the defaultCopyright © 2015–2020 The Apache Software Foundation. All rights reserved.