public final class DatabaseSystem extends TransactionSystem
Constructor and Description |
---|
DatabaseSystem()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addFunctionFactory, alwaysReindexDirtyTables, Debug, dontSynchFileSystem, flushCachedFunctionLookup, getBufferManager, getConfigBoolean, getConfigInt, getConfigString, getDatabasePath, getFunctionLookup, getLogDirectory, getRegexLibrary, ignoreIdentifierCase, lookupComparisonListEnabled, readOnlyAccess, setDebugLevel, setDebugOutput, setLogDirectory, setupRowCache, softIndexStorage, stats, storeSystem, tableLockingEnabled, transactionErrorOnDirtySelect
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
Copyright © 2015. All rights reserved.