@Deprecated public class HiveScalarSqlFunction extends org.apache.flink.table.planner.functions.utils.ScalarSqlFunction
ScalarSqlFunction
.
Override getFunction to clone function and invoke HiveScalarFunction#setArgumentTypesAndConstants
.
Override SqlReturnTypeInference to invoke HiveScalarFunction#getHiveResultType
instead of
HiveScalarFunction#getResultType(Class[])
.Constructor and Description |
---|
HiveScalarSqlFunction(FunctionIdentifier identifier,
ScalarFunction function,
org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ScalarFunction |
makeFunction(Object[] constantArguments,
LogicalType[] argTypes)
Deprecated.
|
$lessinit$greater$default$5, inferOperandTypes, isDeterministic, scalarFunction, toString
deriveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, isQuantifierAllowed, unparse, validateCall, validateQuantifier
acceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, hashCode, inferReturnType, inferReturnType, isAggregator, isDynamicFunction, isGroup, isGroupAuxiliary, isName, leftPrec, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, rewriteCall, rightPrec, unparseListClause, unparseListClause, validateOperands, validRexOperands
public HiveScalarSqlFunction(FunctionIdentifier identifier, ScalarFunction function, org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory)
public ScalarFunction makeFunction(Object[] constantArguments, LogicalType[] argTypes)
makeFunction
in class org.apache.flink.table.planner.functions.utils.ScalarSqlFunction
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.