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, LENGTH_NEXT_TID, LENGTH_RECORDS_COUNT, 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 |
Fields inherited from class org.exist.storage.btree.Paged |
LENGTH_FIRST_FREE_PAGE, LENGTH_HEADER_SIZE, LENGTH_LAST_FREE_PAGE, LENGTH_MAX_KEY_SIZE, LENGTH_PAGE_COUNT, LENGTH_PAGE_HEADER_SIZE, LENGTH_PAGE_SIZE, LENGTH_RECORD_COUNT, LENGTH_TOTAL_COUNT, LENGTH_VERSION_ID, OFFSET_FIRST_FREE_PAGE, OFFSET_HEADER_SIZE, OFFSET_LAST_FREE_PAGE, OFFSET_MAX_KEY_SIZE, OFFSET_PAGE_COUNT, OFFSET_PAGE_HEADER_SIZE, OFFSET_PAGE_SIZE, OFFSET_RECORD_COUNT, OFFSET_REMAINDER, OFFSET_TOTAL_COUNT, OFFSET_VERSION_ID |
Methods inherited from class org.exist.storage.index.BFile |
append, append, close, closeAndRemove, containsKey, create, 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, create, dump, findValue, getIndexBufferStats, open, query, query, remove, remove, removeValue, removeValue, treeStatistics |
FILE_NAME
public static final String FILE_NAME
- See Also:
- Constant Field Values
FILE_KEY_IN_CONFIG
public static final String FILE_KEY_IN_CONFIG
- See Also:
- Constant Field Values
FREE_DOC_ID_KEY
public static final String FREE_DOC_ID_KEY
- See Also:
- Constant Field Values
NEXT_DOC_ID_KEY
public static final String NEXT_DOC_ID_KEY
- See Also:
- Constant Field Values
FREE_COLLECTION_ID_KEY
public static final String FREE_COLLECTION_ID_KEY
- See Also:
- Constant Field Values
NEXT_COLLECTION_ID_KEY
public static final 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,
byte id,
String dataDir,
Configuration config)
throws DBException
- Parameters:
pool
- id
- dataDir
- config
-
- Throws:
DBException
getFileName
public static String getFileName()
getConfigKeyForFile
public static String getConfigKeyForFile()
flush
public boolean flush()
throws DBException
- Overrides:
flush
in class BFile
- Throws:
DBException
Copyright (C) Wolfgang Meier. All rights reserved.