Package nxt.db
Class PersistentDbTable<T>
- java.lang.Object
-
- nxt.db.DerivedDbTable
-
- nxt.db.EntityDbTable<T>
-
- nxt.db.PersistentDbTable<T>
-
- Direct Known Subclasses:
PrunableDbTable
public abstract class PersistentDbTable<T> extends EntityDbTable<T>
-
-
Field Summary
-
Fields inherited from class nxt.db.EntityDbTable
dbKeyFactory
-
Fields inherited from class nxt.db.DerivedDbTable
db, table
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PersistentDbTable(java.lang.String table, DbKey.Factory<T> dbKeyFactory)
protected
PersistentDbTable(java.lang.String table, DbKey.Factory<T> dbKeyFactory, java.lang.String fullTextSearchColumns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPersistent()
void
rollback(int height)
void
truncate()
-
Methods inherited from class nxt.db.EntityDbTable
checkAvailable, clearCache, createSearchIndex, defaultSort, get, get, get, getAll, getAll, getAll, getAll, getAll, getBy, getBy, getCount, getCount, getCount, getManyBy, getManyBy, getManyBy, getManyBy, getManyBy, getManyBy, getManyBy, getRowCount, insert, load, newEntity, save, search, search, trim
-
Methods inherited from class nxt.db.DerivedDbTable
toString
-
-
-
-
Constructor Detail
-
PersistentDbTable
protected PersistentDbTable(java.lang.String table, DbKey.Factory<T> dbKeyFactory)
-
PersistentDbTable
protected PersistentDbTable(java.lang.String table, DbKey.Factory<T> dbKeyFactory, java.lang.String fullTextSearchColumns)
-
-
Method Detail
-
rollback
public void rollback(int height)
- Overrides:
rollback
in classEntityDbTable<T>
-
truncate
public final void truncate()
- Overrides:
truncate
in classDerivedDbTable
-
isPersistent
public final boolean isPersistent()
- Overrides:
isPersistent
in classDerivedDbTable
-
-