Package org.apache.calcite.sql.type
Class ExplicitOperandTypeInference
java.lang.Object
org.apache.calcite.sql.type.ExplicitOperandTypeInference
- All Implemented Interfaces:
SqlOperandTypeInference
ExplicitOperandTypeInferences implements
SqlOperandTypeInference by
explicitly supplying a type for each parameter.-
Method Summary
Modifier and TypeMethodDescriptionvoidinferOperandTypes(SqlCallBinding callBinding, RelDataType returnType, RelDataType[] operandTypes) Infers any unknown operand types.
-
Method Details
-
inferOperandTypes
public void inferOperandTypes(SqlCallBinding callBinding, RelDataType returnType, RelDataType[] operandTypes) Description copied from interface:SqlOperandTypeInferenceInfers any unknown operand types.- Specified by:
inferOperandTypesin interfaceSqlOperandTypeInference- Parameters:
callBinding- description of the call being analyzedreturnType- the type known or inferred for the result of the calloperandTypes- receives the inferred types for all operands
-