public class DataToSketchUDAF
extends org.apache.hadoop.hive.ql.udf.generic.AbstractGenericUDAFResolver
Note Strings as raw data values are encoded as a UTF-16 VARCHAR prior to being submitted to the sketch. If the user requires a different encoding for cross-platform compatibility, it is recommended that these values be encoded prior to being submitted and then typed as a BINARY byte[].
| Modifier and Type | Class and Description |
|---|---|
static class |
DataToSketchUDAF.DataToSketchEvaluator |
| Constructor and Description |
|---|
DataToSketchUDAF() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator |
getEvaluator(org.apache.hadoop.hive.ql.udf.generic.GenericUDAFParameterInfo info)
Performs argument number and type validation.
|
public org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator getEvaluator(org.apache.hadoop.hive.ql.udf.generic.GenericUDAFParameterInfo info)
throws org.apache.hadoop.hive.ql.parse.SemanticException
getEvaluator in interface org.apache.hadoop.hive.ql.udf.generic.GenericUDAFResolver2getEvaluator in class org.apache.hadoop.hive.ql.udf.generic.AbstractGenericUDAFResolverinfo - Parameter info to validateorg.apache.hadoop.hive.ql.parse.SemanticException#getEvaluator(org.apache.hadoop.hive.ql.udf.generic.GenericUDAFParameterInfo)Copyright © 2015–2020 The Apache Software Foundation. All rights reserved.