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,
SqlKind kind,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandMetadata operandMetadata,
Function function)
Creates a
SqlUserDefinedFunction. |
protected |
SqlUserDefinedFunction(SqlIdentifier opName,
SqlKind kind,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandMetadata operandMetadata,
Function function,
SqlFunctionCategory category)
Constructor used internally and by derived classes.
|
|
SqlUserDefinedFunction(SqlIdentifier opName,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
List<RelDataType> paramTypes,
Function function)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Function |
getFunction()
Returns function that implements given operator call.
|
SqlOperandMetadata |
getOperandTypeChecker() |
List<String> |
getParamNames()
Use
SqlOperandMetadata.paramNames() on the result of
SqlOperator.getOperandTypeChecker(). |
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, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, getStrongPolicyInference, hashCode, inferReturnType, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandspublic final Function function
@Deprecated public SqlUserDefinedFunction(SqlIdentifier opName, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, List<RelDataType> paramTypes, Function function)
public SqlUserDefinedFunction(SqlIdentifier opName, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandMetadata operandMetadata, Function function)
SqlUserDefinedFunction.protected SqlUserDefinedFunction(SqlIdentifier opName, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandMetadata operandMetadata, Function function, SqlFunctionCategory category)
public SqlOperandMetadata getOperandTypeChecker()
getOperandTypeChecker in class SqlOperatorpublic Function getFunction()
public List<String> getParamNames()
SqlFunctionSqlOperandMetadata.paramNames() on the result of
SqlOperator.getOperandTypeChecker().getParamNames in class SqlFunctionCopyright © 2012-2020 Apache Software Foundation. All Rights Reserved.