Class RDBMSSearcher

  • All Implemented Interfaces:
    SearcherIF, IndexIF

    public class RDBMSSearcher
    extends AbstractIndex
    implements SearcherIF
    INTERNAL: A generic RDBMS fulltext searcher implementation. Note that the class only accepts an RDBMS topic map in its constructor.

    • Method Detail

      • escapeQuery

        protected String escapeQuery​(String query)
      • getParameters

        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. If the parameter types are different or the order is different this method must be overridden.
      • getIndex

        public IndexIF getIndex()
        Description copied from class: AbstractIndex
        INTERNAL: Method used by IndexManagerIF to manage index creation. The idea behind this method is for the index itself to decide whether to create a new instance every time or the same one.
        Specified by:
        getIndex in class AbstractIndex
        Returns:
        Index instance.
      • isAutoUpdated

        public boolean isAutoUpdated()
      • refresh

        public void refresh()