Interface QueryMaker
- All Known Implementing Classes:
AbstractQueryMaker
,EnwikiQueryMaker
,FileBasedQueryMaker
,LongToEnglishQueryMaker
,ReutersQueryMaker
,SimpleQueryMaker
,SimpleSloppyPhraseQueryMaker
,SpatialFileQueryMaker
public interface QueryMaker
Create queries for the test.
-
Method Summary
Modifier and TypeMethodDescriptionCreate the next querymakeQuery
(int size) Create the next query, of the given size.Print the queriesvoid
Reset inputs so that the test run would behave, input wise, as if it just started.void
Set the properties
-
Method Details
-
makeQuery
Create the next query, of the given size.- Parameters:
size
- the size of the query - number of terms, etc.- Throws:
Exception
- if cannot make the query, or if size > 0 was specified but this feature is not supported.
-
makeQuery
Create the next query- Throws:
Exception
-
setConfig
Set the properties- Throws:
Exception
-
resetInputs
Reset inputs so that the test run would behave, input wise, as if it just started.- Throws:
Exception
-
printQueries
String printQueries()Print the queries
-