Class AssignableOperandTypeChecker

  • All Implemented Interfaces:

    public class AssignableOperandTypeChecker
    extends java.lang.Object
    implements SqlOperandTypeChecker
    AssignableOperandTypeChecker implements SqlOperandTypeChecker by verifying that the type of each argument is assignable to a predefined set of parameter types (under the SQL definition of "assignable").
    • Field Detail

      • paramTypes

        private final java.util.List<RelDataType> paramTypes
      • paramNames

        private final<java.lang.String> paramNames
    • Constructor Detail

      • AssignableOperandTypeChecker

        public AssignableOperandTypeChecker​(java.util.List<RelDataType> paramTypes,
                                            java.util.List<java.lang.String> paramNames)
        Instantiates this strategy with a specific set of parameter types.
        paramTypes - parameter types for operands; index in this array corresponds to operand number
        paramNames - parameter names, or null