public class ArrayOfDoublesSketchToQuantilesSketchUDF
extends org.apache.hadoop.hive.ql.exec.UDF
| Constructor and Description |
|---|
ArrayOfDoublesSketchToQuantilesSketchUDF() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.io.BytesWritable |
evaluate(org.apache.hadoop.io.BytesWritable serializedSketch)
Convert the first column from a given ArrayOfDoublesSketch to a quantiles DoublesSketch
using the default parameter k.
|
org.apache.hadoop.io.BytesWritable |
evaluate(org.apache.hadoop.io.BytesWritable serializedSketch,
int column)
Convert a given column from a given ArrayOfDoublesSketch to a quantiles DoublesSketch
using the default parameter k.
|
org.apache.hadoop.io.BytesWritable |
evaluate(org.apache.hadoop.io.BytesWritable serializedSketch,
int column,
int k)
Convert a given column from a given ArrayOfDoublesSketch to a quantiles DoublesSketch
|
public ArrayOfDoublesSketchToQuantilesSketchUDF()
public org.apache.hadoop.io.BytesWritable evaluate(org.apache.hadoop.io.BytesWritable serializedSketch)
serializedSketch - ArrayOfDoublesSketch in as serialized binarypublic org.apache.hadoop.io.BytesWritable evaluate(org.apache.hadoop.io.BytesWritable serializedSketch,
int column)
serializedSketch - ArrayOfDoublesSketch in as serialized binarycolumn - 1-based column numberpublic org.apache.hadoop.io.BytesWritable evaluate(org.apache.hadoop.io.BytesWritable serializedSketch,
int column,
int k)
serializedSketch - ArrayOfDoublesSketch in as serialized binarycolumn - 1-based column numberk - parameter that determines the accuracy and size of the quantiles sketchCopyright © 2015–2020 The Apache Software Foundation. All rights reserved.