Class ArgumentCountRange

  • All Implemented Interfaces:
    org.apache.calcite.sql.SqlOperandCountRange

    @Internal
    public final class ArgumentCountRange
    extends Object
    implements org.apache.calcite.sql.SqlOperandCountRange
    A SqlOperandCountRange backed by ArgumentCount.
    • Constructor Detail

      • ArgumentCountRange

        public ArgumentCountRange​(ArgumentCount argumentCount)
    • Method Detail

      • isValidCount

        public boolean isValidCount​(int count)
        Specified by:
        isValidCount in interface org.apache.calcite.sql.SqlOperandCountRange
      • getMin

        public int getMin()
        Specified by:
        getMin in interface org.apache.calcite.sql.SqlOperandCountRange
      • getMax

        public int getMax()
        Specified by:
        getMax in interface org.apache.calcite.sql.SqlOperandCountRange