Package nxt.db
Class DerivedDbTable
- java.lang.Object
-
- nxt.db.DerivedDbTable
-
- Direct Known Subclasses:
EntityDbTable,ValuesDbTable
public abstract class DerivedDbTable extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static TransactionalDbdbprotected java.lang.Stringtable
-
Constructor Summary
Constructors Modifier Constructor Description protectedDerivedDbTable(java.lang.String table)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateSearchIndex(java.sql.Connection con)booleanisPersistent()voidrollback(int height)java.lang.StringtoString()voidtrim(int height)voidtruncate()
-
-
-
Field Detail
-
db
protected static final TransactionalDb db
-
table
protected final java.lang.String table
-
-
Method Detail
-
rollback
public void rollback(int height)
-
truncate
public void truncate()
-
trim
public void trim(int height)
-
createSearchIndex
public void createSearchIndex(java.sql.Connection con) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
isPersistent
public boolean isPersistent()
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-