Class SqlShowProcedures

  • All Implemented Interfaces:
    Cloneable

    public class SqlShowProcedures
    extends org.apache.calcite.sql.SqlCall
    SHOW PROCEDURES sql call. The full syntax for show procedures is as followings:
    
     SHOW PROCEDURES [ ( FROM | IN ) [catalog_name.]database_name ] [ [NOT] (LIKE | ILIKE)
     <sql_like_pattern> ] statement
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.apache.calcite.sql.SqlSpecialOperator OPERATOR  
      • Fields inherited from class org.apache.calcite.sql.SqlNode

        EMPTY_ARRAY, pos
    • Constructor Summary

      Constructors 
      Constructor Description
      SqlShowProcedures​(org.apache.calcite.sql.parser.SqlParserPos pos, String preposition, org.apache.calcite.sql.SqlIdentifier databaseName, boolean notLike, String likeType, org.apache.calcite.sql.SqlCharStringLiteral likeLiteral)  
    • Field Detail

      • OPERATOR

        public static final org.apache.calcite.sql.SqlSpecialOperator OPERATOR
    • Constructor Detail

      • SqlShowProcedures

        public SqlShowProcedures​(org.apache.calcite.sql.parser.SqlParserPos pos,
                                 @Nullable
                                 String preposition,
                                 @Nullable
                                 org.apache.calcite.sql.SqlIdentifier databaseName,
                                 boolean notLike,
                                 @Nullable
                                 String likeType,
                                 @Nullable
                                 org.apache.calcite.sql.SqlCharStringLiteral likeLiteral)
    • Method Detail

      • getLikeSqlPattern

        public String getLikeSqlPattern()
      • isNotLike

        public boolean isNotLike()
      • getLikeType

        public String getLikeType()
      • getLikeLiteral

        public org.apache.calcite.sql.SqlCharStringLiteral getLikeLiteral()
      • getPreposition

        public String getPreposition()
      • getOperator

        public org.apache.calcite.sql.SqlOperator getOperator()
        Specified by:
        getOperator in class org.apache.calcite.sql.SqlCall
      • getOperandList

        public List<org.apache.calcite.sql.SqlNode> getOperandList()
        Specified by:
        getOperandList in class org.apache.calcite.sql.SqlCall
      • fullDatabaseName

        public String[] fullDatabaseName()
      • isWithLike

        public boolean isWithLike()
      • unparse

        public void unparse​(org.apache.calcite.sql.SqlWriter writer,
                            int leftPrec,
                            int rightPrec)
        Overrides:
        unparse in class org.apache.calcite.sql.SqlCall