public abstract static class HiveTestUDFImpls.GenericUDFTestBase
extends org.apache.hadoop.hive.ql.udf.generic.GenericUDF
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
argumentOI |
protected org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory |
inputType |
protected org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory |
outputType |
protected String |
udfName |
| Constructor and Description |
|---|
GenericUDFTestBase(String udfName,
org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory type) |
GenericUDFTestBase(String udfName,
org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory inputType,
org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory outputType) |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(org.apache.hadoop.hive.ql.udf.generic.GenericUDF.DeferredObject[] arguments) |
String |
getDisplayString(String[] children) |
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
initialize(org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector[] arguments) |
checkArgGroups, checkArgPrimitive, checkArgsSize, close, configure, copyToNewInstance, flip, getArgOrder, getConstantBooleanValue, getConstantIntValue, getConstantStringValue, getDateValue, getDoubleValue, getFuncName, getIntervalDayTimeValue, getIntervalYearMonthValue, getIntValue, getLongValue, getRequiredFiles, getRequiredJars, getStandardDisplayString, getStandardDisplayString, getStringValue, getTimestampValue, getUdfName, initializeAndFoldConstants, negative, obtainDateConverter, obtainDoubleConverter, obtainIntConverter, obtainLongConverter, obtainStringConverter, obtainTimestampConverterprotected final String udfName
protected final org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory inputType
protected final org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory outputType
protected org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector argumentOI
public GenericUDFTestBase(String udfName, org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory type)
public GenericUDFTestBase(String udfName, org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory inputType, org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory outputType)
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector initialize(org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector[] arguments)
throws org.apache.hadoop.hive.ql.exec.UDFArgumentException
initialize in class org.apache.hadoop.hive.ql.udf.generic.GenericUDForg.apache.hadoop.hive.ql.exec.UDFArgumentExceptionpublic String getDisplayString(String[] children)
getDisplayString in class org.apache.hadoop.hive.ql.udf.generic.GenericUDFpublic Object evaluate(org.apache.hadoop.hive.ql.udf.generic.GenericUDF.DeferredObject[] arguments) throws org.apache.hadoop.hive.ql.metadata.HiveException
evaluate in class org.apache.hadoop.hive.ql.udf.generic.GenericUDForg.apache.hadoop.hive.ql.metadata.HiveExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.