com.raritantechnologies.searchApp
Class QueryProcessorMemorySourceFactory
java.lang.Object
com.raritantechnologies.searchApp.XMLSearchSourceFactory
com.raritantechnologies.searchApp.QueryProcessorMemorySourceFactory
- All Implemented Interfaces:
- InMemoryInitializer, IXMLSearchSourceFactory
- public class QueryProcessorMemorySourceFactory
- extends XMLSearchSourceFactory
- implements InMemoryInitializer
Creates an InMemorySearchSource from a SearchSource by executing a set of queries.
to get a set of IResultSets. Adds each result to an InMemorySearchSource.
XML Configuration Template:
<SourceType name="AMemorySource" type="InMemorySearchSource"
displayName="Some search source"
sourceFactoryClass="com.raritantechnologies.searchApp.QueryProcessorMemorySourceFactory"
queryProcessor="com.raritantechnologies.searchApp.InMemorySearchSource"
sourceName="[the Source that will be made into a memory source]" >
<QueryList>
<Query>
<Field ID="item_id" value="*" />
</Query>
</QueryList>
</SourceType>
Developed by
Raritan Technologies .
- Author:
- Ted Sullivan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryProcessorMemorySourceFactory
public QueryProcessorMemorySourceFactory()
createSearchSources
public SearchSource[] createSearchSources(org.w3c.dom.Element sourceElem,
ISearchFieldMapFactory factory)
- Specified by:
createSearchSources in interface IXMLSearchSourceFactory- Specified by:
createSearchSources in class XMLSearchSourceFactory
initialize
public void initialize(InMemorySearchSource memSS,
java.lang.String sourceName)
- Specified by:
initialize in interface InMemoryInitializer