Package nxt.db
Class VersionedPrunableDbTable<T>
- java.lang.Object
-
- nxt.db.DerivedDbTable
-
- nxt.db.EntityDbTable<T>
-
- nxt.db.PersistentDbTable<T>
-
- nxt.db.PrunableDbTable<T>
-
- nxt.db.VersionedPrunableDbTable<T>
-
- Direct Known Subclasses:
VersionedPersistentDbTable
public abstract class VersionedPrunableDbTable<T> extends PrunableDbTable<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
VersionedPrunableDbTable(java.lang.String table, DbKey.Factory<T> dbKeyFactory)
protected
VersionedPrunableDbTable(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
delete(T t)
void
rollback(int height)
-
Methods inherited from class nxt.db.PrunableDbTable
prune, trim
-
Methods inherited from class nxt.db.PersistentDbTable
isPersistent, 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
-
Methods inherited from class nxt.db.DerivedDbTable
toString
-
-
-
-
Constructor Detail
-
VersionedPrunableDbTable
protected VersionedPrunableDbTable(java.lang.String table, DbKey.Factory<T> dbKeyFactory)
-
VersionedPrunableDbTable
protected VersionedPrunableDbTable(java.lang.String table, DbKey.Factory<T> dbKeyFactory, java.lang.String fullTextSearchColumns)
-
-
Method Detail
-
delete
public final boolean delete(T t)
-
rollback
public final void rollback(int height)
- Overrides:
rollback
in classPersistentDbTable<T>
-
-