Package nxt.db

Class ValuesDbTable<T,​V>

    • Constructor Detail

      • ValuesDbTable

        protected ValuesDbTable​(java.lang.String table,
                                DbKey.Factory<T> dbKeyFactory)
    • Method Detail

      • load

        protected abstract V load​(java.sql.Connection con,
                                  java.sql.ResultSet rs)
                           throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • save

        protected abstract void save​(java.sql.Connection con,
                                     T t,
                                     V v)
                              throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • clearCache

        protected void clearCache()
      • get

        public final java.util.List<V> get​(DbKey dbKey)
      • insert

        public final void insert​(T t,
                                 java.util.List<V> values)