org.eigenbase.sql.type
Class ExplicitOperandTypeInference

java.lang.Object
  extended by 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

Field Summary
private  RelDataType[] paramTypes
           
 
Constructor Summary
ExplicitOperandTypeInference(RelDataType[] paramTypes)
           
 
Method Summary
 void inferOperandTypes(SqlCallBinding callBinding, RelDataType returnType, RelDataType[] operandTypes)
          Infers any unknown operand types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

paramTypes

private final RelDataType[] paramTypes
Constructor Detail

ExplicitOperandTypeInference

public ExplicitOperandTypeInference(RelDataType[] paramTypes)
Method Detail

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 analyzed
returnType - the type known or inferred for the result of the call
operandTypes - receives the inferred types for all operands