Class SqlWindowTableFunction.AbstractOperandMetadata

  • All Implemented Interfaces:
    org.apache.calcite.sql.type.SqlOperandMetadata, org.apache.calcite.sql.type.SqlOperandTypeChecker
    Enclosing class:
    SqlWindowTableFunction

    protected abstract static class SqlWindowTableFunction.AbstractOperandMetadata
    extends Object
    implements org.apache.calcite.sql.type.SqlOperandMetadata
    Partial implementation of operand type checker.
    • Method Detail

      • getOperandCountRange

        public org.apache.calcite.sql.SqlOperandCountRange getOperandCountRange()
        Specified by:
        getOperandCountRange in interface org.apache.calcite.sql.type.SqlOperandTypeChecker
      • paramTypes

        public List<org.apache.calcite.rel.type.RelDataType> paramTypes​(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
        Specified by:
        paramTypes in interface org.apache.calcite.sql.type.SqlOperandMetadata
      • paramNames

        public List<String> paramNames()
        Specified by:
        paramNames in interface org.apache.calcite.sql.type.SqlOperandMetadata
      • getConsistency

        public org.apache.calcite.sql.type.SqlOperandTypeChecker.Consistency getConsistency()
        Specified by:
        getConsistency in interface org.apache.calcite.sql.type.SqlOperandTypeChecker
      • isOptional

        public boolean isOptional​(int i)
        Specified by:
        isOptional in interface org.apache.calcite.sql.type.SqlOperandTypeChecker