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,
@Nullable SqlOperandMetadata operandMetadata,
TableFunction function)
Creates a user-defined table function.
|
SqlUserDefinedTableFunction(SqlIdentifier opName,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
@Nullable 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, 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, not, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandsclone, finalize, getClass, notify, notifyAll, wait, wait, waittableCharacteristic@Deprecated public SqlUserDefinedTableFunction(SqlIdentifier opName, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, @Nullable SqlOperandTypeChecker operandTypeChecker, List<RelDataType> paramTypes, TableFunction function)
public SqlUserDefinedTableFunction(SqlIdentifier opName, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, @Nullable 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-2022 Apache Software Foundation. All Rights Reserved.