public class TrimmableDbTable<T> extends DerivedDbTable
Modifier and Type | Field and Description |
---|---|
protected DbKey.Factory<T> |
dbKeyFactory |
db, schema, schemaTable, table
Modifier and Type | Method and Description |
---|---|
static boolean |
canBeTrimmed(int height,
boolean latest,
org.h2.value.Value... key) |
void |
init() |
void |
popOffTo(int height) |
void |
trim(int height) |
createSearchIndex, isPersistent, rollback, truncate
getConnection, getCount, getCount, getCount, getRowCount, getSchemaTable, toString, truncateAll
protected final DbKey.Factory<T> dbKeyFactory
public void init()
init
in class DerivedDbTable
public void popOffTo(int height)
popOffTo
in class DerivedDbTable
public void trim(int height)
trim
in class DerivedDbTable
public static boolean canBeTrimmed(int height, boolean latest, org.h2.value.Value... key)