public abstract class ValuesDbTable<T,V> extends TrimmableDbTable<T>
dbKeyFactory
db, schema, schemaTable, table
Modifier | Constructor and Description |
---|---|
protected |
ValuesDbTable(java.lang.String schemaTable,
DbKey.Factory<T> dbKeyFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
clearCache() |
java.util.List<V> |
get(DbKey dbKey) |
int |
getCount() |
int |
getCount(DbClause dbClause) |
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, init, popOffTo, trim
createSearchIndex, isPersistent, rollback, truncate
getConnection, getCount, getRowCount, getSchemaTable, toString, truncateAll
protected ValuesDbTable(java.lang.String schemaTable, 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()