Package nxt.db
Class PrunableDbTable<T>
- java.lang.Object
-
- nxt.db.DerivedDbTable
-
- nxt.db.TrimmableDbTable<T>
-
- nxt.db.EntityDbTable<T>
-
- nxt.db.PersistentDbTable<T>
-
- nxt.db.PrunableDbTable<T>
-
- Direct Known Subclasses:
VersionedPrunableDbTable
public abstract class PrunableDbTable<T> extends PersistentDbTable<T>
-
-
Field Summary
-
Fields inherited from class nxt.db.TrimmableDbTable
dbKeyFactory
-
Fields inherited from class nxt.db.DerivedDbTable
db, table
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PrunableDbTable(java.lang.String table, DbKey.Factory<T> dbKeyFactory)
protected
PrunableDbTable(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 protected void
prune()
void
trim(int height)
-
Methods inherited from class nxt.db.PersistentDbTable
isPersistent, rollback, truncate
-
Methods inherited from class nxt.db.EntityDbTable
checkAvailable, clearCache, createSearchIndex, defaultSort, get, get, get, getAll, getAll, getAll, getAll, getBy, getBy, getCount, getCount, getCount, getManyBy, getManyBy, getManyBy, getManyBy, getManyBy, getRowCount, insert, load, newEntity, save, search, search
-
Methods inherited from class nxt.db.TrimmableDbTable
canBeTrimmed, popOffTo
-
Methods inherited from class nxt.db.DerivedDbTable
toString
-
-
-
-
Constructor Detail
-
PrunableDbTable
protected PrunableDbTable(java.lang.String table, DbKey.Factory<T> dbKeyFactory)
-
PrunableDbTable
protected PrunableDbTable(java.lang.String table, DbKey.Factory<T> dbKeyFactory, java.lang.String fullTextSearchColumns)
-
-
Method Detail
-
trim
public final void trim(int height)
- Overrides:
trim
in classTrimmableDbTable<T>
-
prune
protected void prune()
-
-