org.eigenbase.sql.type
Interface SqlTypeTransform


public interface SqlTypeTransform

Strategy to transform one type to another. The transformation is dependent on the implemented strategy object and in the general case is a function of the type and the other operands. Can not be used by itself. Must be used in an object of type SqlTypeTransformCascade.

This class is an example of the strategy pattern.

Version:
$Id: //open/dev/farrago/src/org/eigenbase/sql/type/SqlTypeTransform.java#7 $
Author:
Wael Chatila

Method Summary
 RelDataType transformType(SqlOperatorBinding opBinding, RelDataType typeToTransform)
          Transforms a type.
 

Method Detail

transformType

RelDataType transformType(SqlOperatorBinding opBinding,
                          RelDataType typeToTransform)
Transforms a type.

Parameters:
opBinding - call context in which transformation is being performed
typeToTransform - type to be transformed
Returns:
transformed type