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, dataCache, FILE_FORMAT_VERSION_ID, fileHeader, fixedKeyLen, FREE_LIST, LOB, lock, 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, maxValueSize, minFree, MULTI_PAGE, PAGE_MIN_FREE, RECORD, UNKNOWN_ADDRESS |
| Fields inherited from class org.exist.storage.btree.BTree |
BRANCH, buffers, cache, cacheManager, fileId, growthThreshold, isTransactional, KEY_NOT_FOUND, LEAF, LOG_CREATE_BNODE, LOG_INSERT_VALUE, LOG_SET_PARENT, LOG_UPDATE_PAGE, LOG_UPDATE_VALUE, logManager |
| 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, get, getAsStream, getAsStream, getDataBufferStats, getEntries, getFileVersion, getKeys, getLock, getValues, open, printStatistics, put, put, put, put, put, redoAppendOverflow, redoCreateOverflow, redoCreateOverflowPage, redoCreatePage, redoModifiedOverflow, redoRemoveOverflow, redoRemovePage, redoRemoveValue, redoStoreOverflow, redoStoreValue, remove, remove, remove, removeAll, setLocation, storeValue, undoAppendOverflow, undoCreateOverflow, undoCreateOverflowPage, undoCreatePage, undoModifiedOverflow, undoRemoveOverflow, undoRemovePage, undoRemoveValue, undoStoreValue, update, update, update, update |
| Methods inherited from class org.exist.storage.btree.BTree |
addValue, addValue, create, createRootNode, dump, dumpValue, findValue, getIndexBufferStats, getRootNode, open, query, query, redoCreateBTNode, redoInsertValue, redoRemoveValue, redoSetParent, redoUpdatePage, redoUpdateValue, remove, remove, removeValue, removeValue, requiresRedo, setRootNode, undoInsertValue, undoRemoveValue, undoUpdateValue |
| Methods inherited from class org.exist.storage.btree.Paged |
backupToStream, exists, getFile, getFileHeader, getFreePage, getPage, getPageSize, hexDump, isOpened, isReadOnly, printFreeSpaceList, reuseDeleted, setFile, setPageSize, unlinkPages, unlinkPages, writeValue, writeValue, writeValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, 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
CollectionStore
public CollectionStore(BrokerPool pool,
java.io.File file,
CacheManager cacheManager)
throws DBException
- Parameters:
file -
- Throws:
DBException
getBTreeSyncPeriod
protected long getBTreeSyncPeriod()
getDataSyncPeriod
protected long getDataSyncPeriod()
- Overrides:
getDataSyncPeriod in class BFile
flush
public boolean flush()
throws DBException
- Overrides:
flush in class BFile
- Throws:
DBException
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.