public class EstimateSketchSimilarityUDF
extends org.apache.hadoop.hive.ql.exec.UDF
Constructor and Description |
---|
EstimateSketchSimilarityUDF() |
Modifier and Type | Method and Description |
---|---|
double |
evaluate(org.apache.hadoop.io.BytesWritable firstSketchBytes,
org.apache.hadoop.io.BytesWritable secondSketchBytes)
Main logic called by hive.
|
public double evaluate(org.apache.hadoop.io.BytesWritable firstSketchBytes, org.apache.hadoop.io.BytesWritable secondSketchBytes)
firstSketchBytes
- first sketch to be compared.secondSketchBytes
- second sketch to be compared.Copyright © 2015–2020 The Apache Software Foundation. All rights reserved.