public class IntersectSketchUDF
extends org.apache.hadoop.hive.ql.exec.UDF
| Constructor and Description |
|---|
IntersectSketchUDF() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.io.BytesWritable |
evaluate(org.apache.hadoop.io.BytesWritable firstSketchBytes,
org.apache.hadoop.io.BytesWritable secondSketchBytes)
Main logic called by hive if sketchSize is not passed in.
|
org.apache.hadoop.io.BytesWritable |
evaluate(org.apache.hadoop.io.BytesWritable firstSketchBytes,
org.apache.hadoop.io.BytesWritable secondSketchBytes,
long hashSeed)
Main logic called by hive if sketchSize is also passed in.
|
public org.apache.hadoop.io.BytesWritable evaluate(org.apache.hadoop.io.BytesWritable firstSketchBytes,
org.apache.hadoop.io.BytesWritable secondSketchBytes,
long hashSeed)
firstSketchBytes - first sketch to be intersected.secondSketchBytes - second sketch to be intersected.hashSeed - Only required if input sketches were constructed using an update seed that was not the default.public org.apache.hadoop.io.BytesWritable evaluate(org.apache.hadoop.io.BytesWritable firstSketchBytes,
org.apache.hadoop.io.BytesWritable secondSketchBytes)
firstSketchBytes - first sketch to be intersected.secondSketchBytes - second sketch to be intersected.Copyright © 2015–2020 The Apache Software Foundation. All rights reserved.