public class SqlUserDefinedTableMacro extends SqlFunction implements SqlTableFunction
Created by the validator, after resolving a function call to a function defined in a Calcite schema.
kind, MDX_PRECEDENCE, NL| Constructor and Description |
|---|
SqlUserDefinedTableMacro(SqlIdentifier opName,
SqlKind kind,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
@Nullable SqlOperandMetadata operandMetadata,
TableMacro tableMacro)
Creates a user-defined table macro.
|
SqlUserDefinedTableMacro(SqlIdentifier opName,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
@Nullable SqlOperandTypeChecker operandTypeChecker,
List<RelDataType> paramTypes,
TableMacro tableMacro)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable SqlOperandMetadata |
getOperandTypeChecker() |
List<String> |
getParamNames()
Use
SqlOperandMetadata.paramNames() on the result of
SqlOperator.getOperandTypeChecker(). |
SqlReturnTypeInference |
getRowTypeInference()
Returns the record type of the table yielded by this function when
applied to given arguments.
|
TranslatableTable |
getTable(SqlOperatorBinding callBinding)
Returns the table in this UDF, or null if there is no table.
|
deriveType, 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 SqlUserDefinedTableMacro(SqlIdentifier opName, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, @Nullable SqlOperandTypeChecker operandTypeChecker, List<RelDataType> paramTypes, TableMacro tableMacro)
public SqlUserDefinedTableMacro(SqlIdentifier opName, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, @Nullable SqlOperandMetadata operandMetadata, TableMacro tableMacro)
public @Nullable SqlOperandMetadata getOperandTypeChecker()
getOperandTypeChecker in class SqlOperatorpublic List<String> getParamNames()
SqlFunctionSqlOperandMetadata.paramNames() on the result of
SqlOperator.getOperandTypeChecker().getParamNames in class SqlFunctionpublic TranslatableTable getTable(SqlOperatorBinding callBinding)
public SqlReturnTypeInference getRowTypeInference()
SqlTableFunctiongetRowTypeInference in interface SqlTableFunctionCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.