org.apache.uima.lucas
Interface SearchQueryProvider


public interface SearchQueryProvider

The SearchQueryProvider is responsible to provide access to the SearchQuerys.


Method Summary
 Collection<SearchQuery> getSearchQueries(org.apache.uima.cas.CAS cas)
          Retrieves all SearchQuerys for the given CAS.
 

Method Detail

getSearchQueries

Collection<SearchQuery> getSearchQueries(org.apache.uima.cas.CAS cas)
                                         throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
Retrieves all SearchQuerys for the given CAS. The returned search queries may depend on the given CAS.

This method is called for every processed CAS and should be fast enough to not slow down the search.

Note: The implementation must be thread safe.

Parameters:
cas -
Returns:
all SearchQuerys for the given CAS.
Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException


Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.