Interface QueryProcessorFactoryIF

All Known Implementing Classes:
TologQueryProcessorFactory

public interface QueryProcessorFactoryIF
PUBLIC: Interface for query language implementations. An instance of a QueryProcessorFactoryIF create an appropriate QueryProcessorIF for the provided TopicMapIF.
Since:
5.1
  • Method Details

    • getQueryLanguage

      String getQueryLanguage()
      PUBLIC: Returns the query language that is used by this QueryProcessorFactoryIF implementation.
      Returns:
      the name of this QueryProcessorFactoryIF implementation.
    • createQueryProcessor

      QueryProcessorIF createQueryProcessor(TopicMapIF topicmap, LocatorIF base, Map<String,String> properties)
      PUBLIC: Creates a new QueryProcessorIF instance to query a given topic map.
      Parameters:
      topicmap - the topic map to be used by the query processor.
      base - base address of the topic map if known.
      properties - additional properties used to configure the query processor.
      Returns:
      a QueryProcessorIF instance that can be used to query the topic map.