Class AbstractCacheTableModel

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void create​(java.sql.Connection conn, java.lang.String tableName, AbstractSQLAdapter sqlAdapter)  
      void createAsSelect​(java.sql.Connection conn, java.lang.String tableName, java.lang.String select, AbstractSQLAdapter sqlAdapter)  
      void createIndexes​(java.sql.Connection conn, java.lang.String tableName, java.lang.String properties)  
      void drop​(java.sql.Connection conn, java.lang.String tableName)  
      protected abstract java.lang.String getColumns​(AbstractSQLAdapter sqlAdapter)  
      abstract CacheTableModel getType()  
      long size​(java.sql.Connection conn, java.lang.String tableName)  
      void truncate​(java.sql.Connection conn, java.lang.String tableName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getColumns

        protected abstract java.lang.String getColumns​(AbstractSQLAdapter sqlAdapter)
      • create

        public void create​(java.sql.Connection conn,
                           java.lang.String tableName,
                           AbstractSQLAdapter sqlAdapter)
                    throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • createAsSelect

        public void createAsSelect​(java.sql.Connection conn,
                                   java.lang.String tableName,
                                   java.lang.String select,
                                   AbstractSQLAdapter sqlAdapter)
                            throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • size

        public long size​(java.sql.Connection conn,
                         java.lang.String tableName)
                  throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • truncate

        public void truncate​(java.sql.Connection conn,
                             java.lang.String tableName)
                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • drop

        public void drop​(java.sql.Connection conn,
                         java.lang.String tableName)
                  throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • createIndexes

        public void createIndexes​(java.sql.Connection conn,
                                  java.lang.String tableName,
                                  java.lang.String properties)
                           throws java.sql.SQLException
        Throws:
        java.sql.SQLException