public class RDBMSSearcher extends AbstractIndex implements SearcherIF
Modifier and Type | Field and Description |
---|---|
protected static 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 and Description |
---|
RDBMSSearcher(TopicMapIF topicmap) |
RDBMSSearcher(TopicMapTransactionIF txn) |
Modifier and Type | Method and Description |
---|---|
void |
close()
INTERNAL: Releases resources associated with this searcher.
|
protected String |
escapeQuery(String query) |
IndexIF |
getIndex()
INTERNAL: Method used by IndexManagerIF to manage index creation.
|
protected Object[] |
getParameters(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(String query)
INTERNAL: Performs a query on an index.
|
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 String[] fnames
public RDBMSSearcher(TopicMapIF topicmap)
public RDBMSSearcher(TopicMapTransactionIF txn)
public SearchResultIF search(String query) throws IOException
SearcherIF
search
in interface SearcherIF
IOException
protected Object[] getParameters(String query, TopicMapIF topicmap)
public void close() throws IOException
SearcherIF
close
in interface SearcherIF
IOException
public IndexIF getIndex()
AbstractIndex
getIndex
in class AbstractIndex
public boolean isAutoUpdated()
public void refresh()