Package nxt.db
Class TrimmableDbTable<T>
- java.lang.Object
-
- nxt.db.DerivedDbTable
-
- nxt.db.TrimmableDbTable<T>
-
- Direct Known Subclasses:
EntityDbTable
,ValuesDbTable
public class TrimmableDbTable<T> extends DerivedDbTable
-
-
Field Summary
Fields Modifier and Type Field Description protected DbKey.Factory<T>
dbKeyFactory
-
Fields inherited from class nxt.db.DerivedDbTable
db, table
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
canBeTrimmed(int height, boolean latest, org.h2.value.Value... key)
void
popOffTo(int height)
void
trim(int height)
-
Methods inherited from class nxt.db.DerivedDbTable
createSearchIndex, isPersistent, rollback, toString, truncate
-
-
-
-
Field Detail
-
dbKeyFactory
protected final DbKey.Factory<T> dbKeyFactory
-
-
Method Detail
-
popOffTo
public void popOffTo(int height)
- Overrides:
popOffTo
in classDerivedDbTable
-
trim
public void trim(int height)
- Overrides:
trim
in classDerivedDbTable
-
canBeTrimmed
public static boolean canBeTrimmed(int height, boolean latest, org.h2.value.Value... key)
-
-