ru.biosoft.access
Class DefaultQuerySystem
- public class DefaultQuerySystem
- implements QuerySystem
DefaultQuerySystem loads indexes based on information from DataCollectionInfo.
Generally this information is stored in config file in following form:
querySystem = ru.biosoft.access.DefaultQuerySystem
querySystem.indexes = title;other
index.title = biouml.standard.type.access.TitleSqlIndex
index.title.table = substances
index.other = com.xxx.Index
- pending indexes update when data collection is changed.
DefaultQuerySystem
public DefaultQuerySystem(DataCollection dc)
close
public void close()
- Closes all indexes and releases any system resources associated with them stream.
A closed QuerySystem cannot be reopened.
elementAdded
public void elementAdded(DataCollectionEvent e)
throws java.lang.Exception
elementChanged
public void elementChanged(DataCollectionEvent e)
throws java.lang.Exception
elementRemoved
public void elementRemoved(DataCollectionEvent e)
throws java.lang.Exception
elementWillAdd
public void elementWillAdd(DataCollectionEvent e)
throws DataCollectionVetoException,
java.lang.Exception
elementWillChange
public void elementWillChange(DataCollectionEvent e)
throws DataCollectionVetoException,
java.lang.Exception
elementWillRemove
public void elementWillRemove(DataCollectionEvent e)
throws DataCollectionVetoException,
java.lang.Exception
getIndex
public Index getIndex(String name)
getIndexes
public Index[] getIndexes()
to Class org.apache.log4j.Category
to Class java.util.HashMap
BOTTOM