public class LongToEnglishQueryMaker extends Object implements QueryMaker
long number
starting from Long.MIN_VALUE + 10.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.lucene.queryParser.QueryParser |
parser |
| Constructor and Description |
|---|
LongToEnglishQueryMaker() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.search.Query |
makeQuery()
Create the next query
|
org.apache.lucene.search.Query |
makeQuery(int size)
Create the next query, of the given size.
|
String |
printQueries()
Print the queries
|
void |
resetInputs()
Reset inputs so that the test run would behave, input wise, as if it just started.
|
void |
setConfig(Config config)
Set the properties
|
public org.apache.lucene.search.Query makeQuery(int size)
throws Exception
QueryMakermakeQuery in interface QueryMakersize - the size of the query - number of terms, etc.Exception - if cannot make the query, or if size>0 was specified but this feature is not supported.public org.apache.lucene.search.Query makeQuery()
throws Exception
QueryMakermakeQuery in interface QueryMakerExceptionpublic void setConfig(Config config) throws Exception
QueryMakersetConfig in interface QueryMakerExceptionpublic void resetInputs()
QueryMakerresetInputs in interface QueryMakerpublic String printQueries()
QueryMakerprintQueries in interface QueryMakerCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.