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