|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mckoi.database.TransactionSystem
com.mckoi.database.DatabaseSystem
public final class DatabaseSystem
This class provides information about shared resources available for the entire database system running in this VM. Shared information includes configuration details, DataCellCache, plug-ins, user management, etc.
Constructor Summary | |
---|---|
DatabaseSystem()
Constructor. |
Method Summary | |
---|---|
void |
dispose()
Disposes all the resources associated with this DatabaseSystem and invalidates this object. |
StatementCache |
getStatementCache()
Returns the StatementCache that is used to cache StatementTree objects that are being queried by the database. |
void |
init(DBConfig config)
Inits the DatabaseSystem with the configuration properties of the system. |
boolean |
logQueries()
If query logging is enabled (all queries are output to 'commands.log' in the log directory), this returns true. |
Transaction.CheckExpression |
prepareTransactionCheckConstraint(DataTableDef table_def,
Transaction.CheckExpression check)
Given a Transaction.CheckExpression, this will prepare the expression and return a new prepared CheckExpression. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatabaseSystem()
Method Detail |
---|
public void init(DBConfig config)
init
in class TransactionSystem
public boolean logQueries()
public void dispose()
dispose
in class TransactionSystem
public StatementCache getStatementCache()
If this method returns 'null' then statement caching is disabled.
public Transaction.CheckExpression prepareTransactionCheckConstraint(DataTableDef table_def, Transaction.CheckExpression check)
A DatabaseSystem resolves the variables (ignoring case if necessary) and the functions of the expression.
prepareTransactionCheckConstraint
in class TransactionSystem
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |