public class GetEstimateUDF
extends org.apache.hadoop.hive.ql.exec.UDF
| Constructor and Description |
|---|
GetEstimateUDF() |
| Modifier and Type | Method and Description |
|---|---|
Double |
evaluate(org.apache.hadoop.io.BytesWritable serializedSketch)
Get an estimate from a given CpcSketch using the default seed
|
Double |
evaluate(org.apache.hadoop.io.BytesWritable serializedSketch,
long seed)
Get an estimate from a given CpcSketch with explicit seed
|
public Double evaluate(org.apache.hadoop.io.BytesWritable serializedSketch, long seed)
serializedSketch - CpcSketch in a serialized binary formseed - update seedpublic Double evaluate(org.apache.hadoop.io.BytesWritable serializedSketch)
serializedSketch - CpcSketch in a serialized binary formCopyright © 2015–2020 The Apache Software Foundation. All rights reserved.