@Internal public class HiveSimpleUDF extends HiveScalarFunction<org.apache.hadoop.hive.ql.exec.UDF>
UDF
.argTypes, constantArguments, function, hiveFunctionWrapper, returnInspector
Constructor and Description |
---|
HiveSimpleUDF(HiveFunctionWrapper<org.apache.hadoop.hive.ql.exec.UDF> hiveFunctionWrapper,
HiveShim hiveShim) |
Modifier and Type | Method and Description |
---|---|
Object |
evalInternal(Object[] args)
Evaluation logical, args will be wrapped when is a single array.
|
protected DataType |
inferReturnType()
Infer return type of this function call.
|
void |
openInternal()
|
eval, getTypeInference, isDeterministic, open
getKind, getParameterTypes, getResultType
close, functionIdentifier, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRequirements
public HiveSimpleUDF(HiveFunctionWrapper<org.apache.hadoop.hive.ql.exec.UDF> hiveFunctionWrapper, HiveShim hiveShim)
public void openInternal()
HiveScalarFunction
openInternal
in class HiveScalarFunction<org.apache.hadoop.hive.ql.exec.UDF>
public Object evalInternal(Object[] args)
HiveScalarFunction
evalInternal
in class HiveScalarFunction<org.apache.hadoop.hive.ql.exec.UDF>
protected DataType inferReturnType() throws org.apache.hadoop.hive.ql.exec.UDFArgumentException
HiveScalarFunction
inferReturnType
in class HiveScalarFunction<org.apache.hadoop.hive.ql.exec.UDF>
org.apache.hadoop.hive.ql.exec.UDFArgumentException
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.