|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.impl.utils.AbstractIndex net.ontopia.infoset.fulltext.impl.rdbms.RDBMSSearcher
public class RDBMSSearcher
INTERNAL: A generic RDBMS fulltext searcher implementation. Note that the class only accepts an RDBMS topic map in its constructor.
Field Summary | |
---|---|
protected static java.lang.String[] |
fnames
|
protected int |
ft_platform
|
protected static int |
FT_PLATFORM_GENERIC
|
protected static int |
FT_PLATFORM_ORACLE_TEXT
|
protected static int |
FT_PLATFORM_SQLSERVER
|
protected static int |
FT_PLATFORM_TSEARCH2
|
protected RDBMSTopicMapTransaction |
tmtxn
|
Constructor Summary | |
---|---|
RDBMSSearcher(TopicMapIF topicmap)
|
|
RDBMSSearcher(TopicMapTransactionIF txn)
|
Method Summary | |
---|---|
void |
close()
INTERNAL: Releases resources associated with this searcher. |
protected java.lang.String |
escapeQuery(java.lang.String query)
|
IndexIF |
getIndex()
INTERNAL: Method used by IndexManagerIF to manage index creation. |
protected java.lang.Object[] |
getParameters(java.lang.String query,
TopicMapIF topicmap)
INTERNAL: Override this method if the parameters to be used by the query is different from the default. |
boolean |
isAutoUpdated()
|
void |
refresh()
|
SearchResultIF |
search(java.lang.String query)
INTERNAL: Performs a query on an index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int FT_PLATFORM_GENERIC
protected static final int FT_PLATFORM_ORACLE_TEXT
protected static final int FT_PLATFORM_TSEARCH2
protected static final int FT_PLATFORM_SQLSERVER
protected RDBMSTopicMapTransaction tmtxn
protected int ft_platform
protected static java.lang.String[] fnames
Constructor Detail |
---|
public RDBMSSearcher(TopicMapIF topicmap)
public RDBMSSearcher(TopicMapTransactionIF txn)
Method Detail |
---|
public SearchResultIF search(java.lang.String query) throws java.io.IOException
SearcherIF
search
in interface SearcherIF
java.io.IOException
protected java.lang.String escapeQuery(java.lang.String query)
protected java.lang.Object[] getParameters(java.lang.String query, TopicMapIF topicmap)
public void close() throws java.io.IOException
SearcherIF
close
in interface SearcherIF
java.io.IOException
public IndexIF getIndex()
AbstractIndex
getIndex
in class AbstractIndex
public boolean isAutoUpdated()
public void refresh()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |