gate.creole.ir
Class QueryResultList
java.lang.Object
|
+--gate.creole.ir.QueryResultList
- public class QueryResultList
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
queryString
private String queryString
- Executed query.
corpus
private IndexedCorpus corpus
- Corpus in which query was execute.
results
private List results
- List of QueryResult objects.
QueryResultList
public QueryResultList(String query,
IndexedCorpus corpus,
List results)
- Constructor of the class.
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