Package org.apache.calcite.test
Class MockSqlOperatorTable.TableFunctionReturnTableFunction
java.lang.Object
org.apache.calcite.sql.SqlOperator
org.apache.calcite.sql.SqlFunction
org.apache.calcite.test.MockSqlOperatorTable.TableFunctionReturnTableFunction
- All Implemented Interfaces:
- SqlTableFunction
- Enclosing class:
- MockSqlOperatorTable
public static class MockSqlOperatorTable.TableFunctionReturnTableFunction
extends SqlFunction
implements SqlTableFunction
"TFRT" user-defined table function.
- 
Field SummaryFields inherited from class org.apache.calcite.sql.SqlOperatorkind, MDX_PRECEDENCE, NL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription@Nullable SqlReturnTypeInferenceReturns the return type inference strategy for this operator, or null if return type inference is implemented by a subclass override.Returns the record type of the table yielded by this function when applied to given arguments.inferReturnType(SqlOperatorBinding opBinding) Infers the return type of an invocation of this operator; only called after the number and types of operands have already been validated.Methods inherited from class org.apache.calcite.sql.SqlFunctionderiveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, isQuantifierAllowed, unparse, validateCall, validateQuantifierMethods inherited from class org.apache.calcite.sql.SqlOperatoracceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, createCall, createCall, createCall, deriveOperandType, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getRightPrec, getSignatureTemplate, getSqlCallFactory, getStrongPolicyInference, hashCode, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, not, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandsMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.calcite.sql.SqlTableFunctiontableCharacteristic
- 
Constructor Details- 
TableFunctionReturnTableFunctionpublic TableFunctionReturnTableFunction()
 
- 
- 
Method Details- 
inferReturnTypeDescription copied from class:SqlOperatorInfers the return type of an invocation of this operator; only called after the number and types of operands have already been validated. Subclasses must either override this method or supply an instance ofSqlReturnTypeInferenceto the constructor.- Overrides:
- inferReturnTypein class- SqlOperator
- Parameters:
- opBinding- description of invocation (not necessarily a- SqlCall)
- Returns:
- inferred return type
 
- 
getReturnTypeInferenceDescription copied from class:SqlOperatorReturns the return type inference strategy for this operator, or null if return type inference is implemented by a subclass override.- Overrides:
- getReturnTypeInferencein class- SqlOperator
 
- 
getRowTypeInferenceDescription copied from interface:SqlTableFunctionReturns the record type of the table yielded by this function when applied to given arguments. Only literal arguments are passed, non-literal are replaced with default values (null, 0, false, etc).- Specified by:
- getRowTypeInferencein interface- SqlTableFunction
- Returns:
- strategy to infer the row type of a call to this function
 
 
-