public class SqlUserDefinedFunction extends SqlFunction
Created by the validator, after resolving a function call to a function defined in a Calcite schema.
| Modifier and Type | Field and Description |
|---|---|
Function |
function |
kind, MDX_PRECEDENCE, NL| Modifier | Constructor and Description |
|---|---|
|
SqlUserDefinedFunction(SqlIdentifier opName,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
List<RelDataType> paramTypes,
Function function)
Creates a
SqlUserDefinedFunction. |
protected |
SqlUserDefinedFunction(SqlIdentifier opName,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
List<RelDataType> paramTypes,
Function function,
SqlFunctionCategory category)
Constructor used internally and by derived classes.
|
| Modifier and Type | Method and Description |
|---|---|
Function |
getFunction()
Returns function that implements given operator call.
|
List<String> |
getParamNames()
Returns a list of parameter names.
|
deriveType, getFunctionType, getNameAsId, getParamTypes, getSqlIdentifier, getSyntax, isQuantifierAllowed, unparse, validateCall, validateQuantifieracceptCall, 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, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, leftPrec, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandspublic final Function function
public SqlUserDefinedFunction(SqlIdentifier opName, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, List<RelDataType> paramTypes, Function function)
SqlUserDefinedFunction.protected SqlUserDefinedFunction(SqlIdentifier opName, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, List<RelDataType> paramTypes, Function function, SqlFunctionCategory category)
public Function getFunction()
public List<String> getParamNames()
SqlFunctionThe default implementation returns [arg0, arg1, ..., argN].
getParamNames in class SqlFunctionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.