|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xindice.core.CollectionManager
CollectionManager is the base class for both Database and Collection.
Method Summary | |
Collection |
createCollection(java.lang.String path,
Configuration cfg)
createCollection creates a new Collection object and any associated system resources that the Collection will need. |
void |
dispose()
dispose disposes of the object instance. |
boolean |
dropCollection(Collection collection)
dropCollection physically removes the specified Collection and any associated system resources that the Collection uses. |
Collection |
getCollection(java.lang.String path)
getCollection retrieves a Collection by name. |
Configuration |
getConfig()
getConfig retrieves the configuration information for the Configurable object instance. |
java.lang.String[] |
listCollections()
listCollections retrieves a list of Collections as an array of Strings. |
void |
setConfig(Configuration config)
setConfig sets the configuration information for the Configurable object instance. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void setConfig(Configuration config) throws XindiceException
Configurable
setConfig
in interface Configurable
org.apache.xindice.util.Configurable
config
- The configuration Nodepublic Configuration getConfig()
Configurable
getConfig
in interface Configurable
org.apache.xindice.util.Configurable
public Collection getCollection(java.lang.String path) throws DBException
path
- The Collection pathpublic final java.lang.String[] listCollections() throws DBException
public boolean dropCollection(Collection collection) throws DBException
collection
- The Collection to droppublic Collection createCollection(java.lang.String path, Configuration cfg) throws DBException
path
- The relative path of the Collectioncfg
- The Collection's configurationpublic void dispose()
Disposable
dispose
in interface Disposable
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |