|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dbxml.db.core.CollectionManager
com.dbxml.db.core.Collection
com.dbxml.db.core.Database
The Database class, which is also a Collection class, serves as the top level container for a dbXML database. It provides additional capabilities such as providing access to the system collections, symbol tables, and security manager. It is also the class that is used to bootstrap the database and the collections therein.
Field Summary | |
static Database |
database
|
Fields inherited from class com.dbxml.db.core.Collection |
TYPE_DOCUMENTS, TYPE_RECORDS |
Constructor Summary | |
Database()
|
Method Summary | |
void |
addDatabaseEventListener(DatabaseEventListener listener)
|
void |
dispose()
dispose closes the Collection's associated Filer and Indexes. |
void |
flushConfig()
flushConfig ensures that the Collection configuration has been properly flushed to disk after a modification. |
Cache |
getCache()
getCache returns the Database-level Cache. |
Database |
getDatabase()
getDatabase retrieves the Database that is associated with this CollectionManager. |
static Database |
getInstance()
|
QueryEngine |
getQueryEngine()
getQueryEngine returns a reference to the Database's QueryEngine. |
SecurityManager |
getSecurityManager()
getSecurityManager returns a reference to the Database's SecurityManager. |
SystemCollection |
getSystemCollection()
getSystemCollection returns the System Collection. |
boolean |
isDatabaseEmbedded()
|
void |
removeDatabaseEventListener(DatabaseEventListener listener)
|
void |
setConfig(Configuration config)
setConfig sets the configuration information for the Configurable object instance. |
Methods inherited from class com.dbxml.db.core.Collection |
createCollection, createNewOID, drop, dropCollection, flushSymbolTable, getCanonicalDocumentName, getCanonicalName, getCollectionRoot, getCollectionType, getContainer, getContainerSet, getDocument, getExtensionManager, getIndexManager, getKeyCount, getName, getParentCollection, getRecord, getRecordMetaData, getSymbols, getTriggerManager, insertDocument, insertRecord, listKeys, queryCollection, queryDocument, remove, setDocument, setRecord, setRecord |
Methods inherited from class com.dbxml.db.core.CollectionManager |
getCollection, getConfig, listCollections |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.dbxml.util.Configurable |
getConfig |
Field Detail |
public static Database database
Constructor Detail |
public Database() throws DBException
Method Detail |
public static Database getInstance()
public void setConfig(Configuration config) throws dbXMLException
Configurable
setConfig
in interface Configurable
setConfig
in class Collection
dbXMLException
public boolean isDatabaseEmbedded()
public void addDatabaseEventListener(DatabaseEventListener listener)
public void removeDatabaseEventListener(DatabaseEventListener listener)
public SystemCollection getSystemCollection()
CollectionManager
getSystemCollection
in class Collection
public Database getDatabase()
CollectionManager
getDatabase
in class Collection
public void flushConfig() throws DBException
DBException
public Cache getCache()
public QueryEngine getQueryEngine()
getQueryEngine
in class Collection
public SecurityManager getSecurityManager()
public void dispose()
Collection
dispose
in class Collection
|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |