public abstract class ValuesDbTable<T,V> extends TrimmableDbTable<T>
dbKeyFactory
db, table
Modifier | Constructor and Description |
---|---|
protected |
ValuesDbTable(java.lang.String table,
DbKey.Factory<T> dbKeyFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
clearCache() |
java.util.List<V> |
get(DbKey dbKey) |
void |
insert(T t,
java.util.List<V> values) |
protected abstract V |
load(java.sql.Connection con,
java.sql.ResultSet rs) |
protected abstract void |
save(java.sql.Connection con,
T t,
V v) |
canBeTrimmed, popOffTo, trim
createSearchIndex, isPersistent, rollback, toString, truncate
protected ValuesDbTable(java.lang.String table, DbKey.Factory<T> dbKeyFactory)
protected abstract V load(java.sql.Connection con, java.sql.ResultSet rs) throws java.sql.SQLException
java.sql.SQLException
protected abstract void save(java.sql.Connection con, T t, V v) throws java.sql.SQLException
java.sql.SQLException
protected void clearCache()