org.apache.xindice.core
Class SystemCollection
java.lang.Object
|
+--org.apache.xindice.core.CollectionManager
|
+--org.apache.xindice.core.Collection
|
+--org.apache.xindice.core.SystemCollection
- All Implemented Interfaces:
- Configurable, DBObject, Named
- public final class SystemCollection
- extends Collection
SystemCollection represents the System Collection. Beyond
standard Collection operations, this class will provide facilities
for Schema and SymbolTable management among other things.
- Version:
- $Revision: 534528 $, $Date: 2007-05-02 12:12:19 -0400 (Wed, 02 May 2007) $
Methods inherited from class org.apache.xindice.core.Collection |
close, create, createCollection, createIndexer, createNewKey, createNewOID, drop, dropCollection, dropIndexer, exists, flushSymbolTable, getBinary, getCanonicalDocumentName, getCanonicalDocumentName, getCanonicalName, getCollectionMeta, getCollectionRoot, getContainer, getDatabase, getDocument, getDocumentCount, getDocumentMeta, getDocumentSet, getEntry, getFiler, getIndexer, getIndexManager, getName, getObject, getParentCollection, getQueryEngine, getSymbols, getSystemCollection, insertBinary, insertBinary, insertDocument, insertDocument, insertObject, insertObject, isMetaEnabled, isOpened, listDocuments, listIndexers, open, queryCollection, queryDocument, remove, setCanonicalName, setCollectionMeta, setCollectionRoot, setConfig, setDocument, setDocumentMeta, setName, setObject, updateCollectionMeta, updateDocumentMeta |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYSCOL
public static final String SYSCOL
SYMBOLS
public static final String SYMBOLS
OBJECTS
public static final String OBJECTS
CONFIGS
public static final String CONFIGS
USERS
public static final String USERS
GROUPS
public static final String GROUPS
ACCESS
public static final String ACCESS
SystemCollection
public SystemCollection(Database db)
- Parameters:
db
- Its database
loadSymbols
public SymbolTable loadSymbols(Collection collection)
throws DBException
- loadSymbols retrieves the SymbolTable for the specified Collection.
- Parameters:
collection
- The Collection whose SymbolTable is required- Returns:
- The requested SymbolTable
- Throws:
DBException
- if unable to load symbols
saveSymbols
public void saveSymbols(Collection collection,
SymbolTable symbols)
throws DBException
- saveSymbols save the SymbolTable for the specified Collection.
- Parameters:
collection
- The Collection that owns the SymbolTablesymbols
- The SymbolTable- Throws:
DBException
- if unable to save symbols
dropSymbols
public void dropSymbols(Collection collection)
throws DBException
- dropSymbols drop the SymbolTable for the specified Collection.
- Parameters:
collection
- The Collection that owns the SymbolTable- Throws:
DBException
- if unable to drop symbols
getDefinition
public static String getDefinition()
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.