|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexManagerIF
DEPRECATED: Interface implemented by objects that manage one or more indexes on a topic map.
Indexes are referred to by name, where the name is the full class name of the interface of the index that is wanted, e.g. "net.ontopia.topicmaps.core.index.ClassInstanceIndexIF". This is what is meant by an "index name" below. There is only one index with each given name.
Method Summary | |
---|---|
java.util.Collection<IndexIF> |
getActiveIndexes()
Deprecated. DEPRECATED: Returns all the active indexes. |
IndexIF |
getIndex(java.lang.String name)
Deprecated. DEPRECATED: Gets an index by name. |
java.util.Collection<java.lang.String> |
getSupportedIndexes()
Deprecated. DEPRECATED: Returns the names of the indexes that this index manager supports. |
TopicMapTransactionIF |
getTransaction()
Deprecated. DEPRECATED: Gets the topic map store to which this index manager belongs. |
boolean |
isActive(java.lang.String name)
Deprecated. DEPRECATED: Returns true if the index is active. |
Method Detail |
---|
TopicMapTransactionIF getTransaction()
IndexIF getIndex(java.lang.String name)
If no such index is currently active it is created and populated automatically when this method is called. In the case when the index implementation is not dynamic it may take a while for the index to populate itself, depending on the size of the topic map.
name
- A string; the index name, usually the IndexIF
subinterface that it implements.
OntopiaUnsupportedException
- Thrown if the index is either
unknown or not supported by the index manager.java.util.Collection<java.lang.String> getSupportedIndexes()
boolean isActive(java.lang.String name)
name
- A string which is an index name.
java.util.Collection<IndexIF> getActiveIndexes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |