org.exist.storage.index
Class CollectionStore
java.lang.Object
org.exist.storage.btree.Paged
org.exist.storage.btree.BTree
org.exist.storage.index.BFile
org.exist.storage.index.CollectionStore
- public class CollectionStore
- extends BFile
Handles access to the central collection storage file (collections.dbx).
- Author:
- wolf
Fields inherited from class org.exist.storage.index.BFile |
DATA_SYNC_PERIOD, FILE_FORMAT_VERSION_ID, fixedKeyLen, FREE_LIST, LOB, LOG_CREATE_PAGE, LOG_OVERFLOW_APPEND, LOG_OVERFLOW_CREATE, LOG_OVERFLOW_CREATE_PAGE, LOG_OVERFLOW_MODIFIED, LOG_OVERFLOW_REMOVE, LOG_OVERFLOW_STORE, LOG_REMOVE_PAGE, LOG_REMOVE_VALUE, LOG_STORE_VALUE, MULTI_PAGE, PAGE_MIN_FREE, RECORD, UNKNOWN_ADDRESS |
Method Summary |
boolean |
flush()
|
Methods inherited from class org.exist.storage.index.BFile |
append, append, close, closeAndRemove, containsKey, create, createFileHeader, createFileHeader, createFileHeader, createFileHeader, createPageHeader, debugFreeList, find, findEntries, findKeys, get, get, getAsStream, getAsStream, getDataBufferStats, getEntries, getFileVersion, getKeys, getLock, getValues, open, printStatistics, put, put, put, put, put, remove, remove, remove, removeAll, setLocation, storeValue, update, update, update |
Methods inherited from class org.exist.storage.btree.BTree |
addValue, addValue, dump, findValue, getIndexBufferStats, open, query, query, remove, remove, removeValue, removeValue |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FREE_DOC_ID_KEY
public static final java.lang.String FREE_DOC_ID_KEY
- See Also:
- Constant Field Values
NEXT_DOC_ID_KEY
public static final java.lang.String NEXT_DOC_ID_KEY
- See Also:
- Constant Field Values
FREE_COLLECTION_ID_KEY
public static final java.lang.String FREE_COLLECTION_ID_KEY
- See Also:
- Constant Field Values
NEXT_COLLECTION_ID_KEY
public static final java.lang.String NEXT_COLLECTION_ID_KEY
- See Also:
- Constant Field Values
KEY_TYPE_COLLECTION
public static final byte KEY_TYPE_COLLECTION
- See Also:
- Constant Field Values
KEY_TYPE_DOCUMENT
public static final byte KEY_TYPE_DOCUMENT
- See Also:
- Constant Field Values
CollectionStore
public CollectionStore(BrokerPool pool,
java.io.File file,
CacheManager cacheManager)
throws DBException
- Parameters:
pool
- cacheManager
- file
-
- Throws:
DBException
flush
public boolean flush()
throws DBException
- Overrides:
flush
in class BFile
- Throws:
DBException
Copyright (C) Wolfgang Meier. All rights reserved.