gate.creole.ir
Class QueryResultList

java.lang.Object
  extended by gate.creole.ir.QueryResultList

public class QueryResultList
extends Object


Constructor Summary
QueryResultList()
           
QueryResultList(String query, IndexedCorpus corpus, List<QueryResult> results)
          Constructor of the class.
 
Method Summary
 IndexedCorpus getQueryCorpus()
           
 Iterator<QueryResult> getQueryResults()
           
 String getQueryString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryResultList

public QueryResultList()

QueryResultList

public QueryResultList(String query,
                       IndexedCorpus corpus,
                       List<QueryResult> results)
Constructor of the class.

Method Detail

getQueryString

public String getQueryString()
Returns:
String executed query

getQueryCorpus

public IndexedCorpus getQueryCorpus()
Returns:
IndexedCorpus corpus where this query was execute.

getQueryResults

public Iterator<QueryResult> getQueryResults()
Returns:
Iterator of QueryResult objects.
See Also:
QueryResult