org.eigenbase.sql.type
Class ExplicitOperandTypeInference
java.lang.Object
org.eigenbase.sql.type.ExplicitOperandTypeInference
- All Implemented Interfaces:
- SqlOperandTypeInference
public class ExplicitOperandTypeInference
- extends Object
- implements SqlOperandTypeInference
ExplicitOperandTypeInferences implements SqlOperandTypeInference
by
explicity supplying a type for each parameter.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/sql/type/ExplicitOperandTypeInference.java#6 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
paramTypes
private final RelDataType[] paramTypes
ExplicitOperandTypeInference
public ExplicitOperandTypeInference(RelDataType[] paramTypes)
inferOperandTypes
public void inferOperandTypes(SqlCallBinding callBinding,
RelDataType returnType,
RelDataType[] operandTypes)
- Description copied from interface:
SqlOperandTypeInference
- Infers any unknown operand types.
- Specified by:
inferOperandTypes
in interface SqlOperandTypeInference
- 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