gate.creole.ir
Class QueryResultList

java.lang.Object
  extended bygate.creole.ir.QueryResultList

public class QueryResultList
extends Object


Field Summary
private  IndexedCorpus corpus
          Corpus in which query was execute.
private  String queryString
          Executed query.
private  List results
          List of QueryResult objects.
 
Constructor Summary
QueryResultList(String query, IndexedCorpus corpus, List results)
          Constructor of the class.
 
Method Summary
 IndexedCorpus getQueryCorpus()
           
 Iterator getQueryResults()
           
 String getQueryString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queryString

private String queryString
Executed query.


corpus

private IndexedCorpus corpus
Corpus in which query was execute.


results

private List results
List of QueryResult objects.

Constructor Detail

QueryResultList

public QueryResultList(String query,
                       IndexedCorpus corpus,
                       List 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 getQueryResults()
Returns:
Iterator of QueryResult objects.
See Also:
QueryResult