Interface QuerySource
-
- All Superinterfaces:
java.util.Iterator<java.lang.String>
- All Known Implementing Classes:
SingleLineTRECQuery
,TRECQuery
public interface QuerySource extends java.util.Iterator<java.lang.String>
This interface denotes a source of queries for batch evaluation- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]
getInfo()
Return information about the query sourcejava.lang.String
getQueryId()
Returns the query identifier of the last query fetched, or the first one, if none has been fetched yet.void
reset()
Resets the query source back to the first query.
-
-
-
Method Detail
-
getQueryId
java.lang.String getQueryId()
Returns the query identifier of the last query fetched, or the first one, if none has been fetched yet.- Returns:
- String the query number of a query.
-
reset
void reset()
Resets the query source back to the first query.
-
getInfo
java.lang.String[] getInfo()
Return information about the query source
-
-