public class SqlUserDefinedTableFunction extends SqlUserDefinedFunction implements SqlTableFunction
Created by the validator, after resolving a function call to a function defined in a Calcite schema.
functionkind, MDX_PRECEDENCE, NL| Constructor and Description |
|---|
SqlUserDefinedTableFunction(SqlIdentifier opName,
SqlKind kind,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandMetadata operandMetadata,
TableFunction function)
Creates a user-defined table function.
|
SqlUserDefinedTableFunction(SqlIdentifier opName,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
List<RelDataType> paramTypes,
TableFunction function)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Type |
getElementType(SqlOperatorBinding callBinding)
Returns the row type of the table yielded by this function when
applied to given arguments.
|
TableFunction |
getFunction()
Returns function that implements given operator call.
|
SqlReturnTypeInference |
getRowTypeInference()
Returns the record type of the table yielded by this function when
applied to given arguments.
|
getOperandTypeChecker, getParamNamesderiveType, 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, validRexOperands@Deprecated public SqlUserDefinedTableFunction(SqlIdentifier opName, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, List<RelDataType> paramTypes, TableFunction function)
public SqlUserDefinedTableFunction(SqlIdentifier opName, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandMetadata operandMetadata, TableFunction function)
public TableFunction getFunction()
getFunction in class SqlUserDefinedFunctionpublic SqlReturnTypeInference getRowTypeInference()
SqlTableFunctiongetRowTypeInference in interface SqlTableFunctionpublic Type getElementType(SqlOperatorBinding callBinding)
callBinding - Operand bound to argumentsObject[].class)Copyright © 2012-2020 Apache Software Foundation. All Rights Reserved.