Class RenameTableStatement

    • Field Detail

      • tableNames

        private final java.util.LinkedHashMap<Table,​Table> tableNames
      • usingTableKeyword

        private boolean usingTableKeyword
      • usingIfExistsKeyword

        private boolean usingIfExistsKeyword
      • waitDirective

        private java.lang.String waitDirective
    • Constructor Detail

      • RenameTableStatement

        public RenameTableStatement​(Table oldName,
                                    Table newName)
      • RenameTableStatement

        public RenameTableStatement​(Table oldName,
                                    Table newName,
                                    boolean usingTableKeyword,
                                    boolean usingIfExistsKeyword,
                                    java.lang.String waitDirective)
    • Method Detail

      • addTableNames

        public void addTableNames​(Table oldName,
                                  Table newName)
      • isUsingTableKeyword

        public boolean isUsingTableKeyword()
      • setUsingTableKeyword

        public void setUsingTableKeyword​(boolean usingTableKeyword)
      • withUsingTableKeyword

        public RenameTableStatement withUsingTableKeyword​(boolean usingTableKeyword)
      • isUsingIfExistsKeyword

        public boolean isUsingIfExistsKeyword()
      • setUsingIfExistsKeyword

        public void setUsingIfExistsKeyword​(boolean usingIfExistsKeyword)
      • withUsingIfExistsKeyword

        public RenameTableStatement withUsingIfExistsKeyword​(boolean usingIfExistsKeyword)
      • getWaitDirective

        public java.lang.String getWaitDirective()
      • setWaitDirective

        public void setWaitDirective​(java.lang.String waitDirective)
      • withWaitDirective

        public RenameTableStatement withWaitDirective​(java.lang.String waitDirective)
      • getTableNamesSize

        public int getTableNamesSize()
      • isTableNamesEmpty

        public boolean isTableNamesEmpty()
      • getTableNames

        public java.util.Set<java.util.Map.Entry<Table,​Table>> getTableNames()
      • appendTo

        public java.lang.StringBuilder appendTo​(java.lang.StringBuilder builder)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object