Package nxt.db
Class ValuesDbTable<T,V>
java.lang.Object
nxt.db.Table
nxt.db.DerivedDbTable
nxt.db.TrimmableDbTable<T>
nxt.db.ValuesDbTable<T,V>
- Direct Known Subclasses:
VersionedValuesDbTable
-
Field Summary
Fields inherited from class nxt.db.TrimmableDbTable
dbKeyFactoryFields inherited from class nxt.db.Table
db, schema, schemaTable, table -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedValuesDbTable(String schemaTable, DbKey.Factory<T> dbKeyFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinal intgetCount()final intfinal voidprotected abstract Vload(Connection con, ResultSet rs) protected abstract voidsave(Connection con, T t, V v) Methods inherited from class nxt.db.TrimmableDbTable
canBeTrimmed, init, popOffTo, trimMethods inherited from class nxt.db.DerivedDbTable
createSearchIndex, isPersistent, rollback, truncateMethods inherited from class nxt.db.Table
getConnection, getCount, getRowCount, getSchemaTable, toString, truncateAll
-
Constructor Details
-
ValuesDbTable
-
-
Method Details
-
load
- Throws:
SQLException
-
save
- Throws:
SQLException
-
clearCache
protected void clearCache() -
get
-
getCount
public final int getCount() -
getCount
-
insert
-