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.

See Also:
  • Method Details

    • transformType

      RelDataType transformType(SqlOperatorBinding opBinding, RelDataType typeToTransform)
      Transforms a type.
      opBinding - call context in which transformation is being performed
      typeToTransform - type to be transformed, never null
      transformed type, never null