public class LongToEnglishQueryMaker extends java.lang.Object implements QueryMaker
long number
starting from Long.MIN_VALUE + 10.| Modifier and Type | Field and Description |
|---|---|
protected QueryParser |
parser |
| Constructor and Description |
|---|
LongToEnglishQueryMaker() |
| Modifier and Type | Method and Description |
|---|---|
Query |
makeQuery()
Create the next query
|
Query |
makeQuery(int size)
Create the next query, of the given size.
|
java.lang.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
|
protected QueryParser parser
public Query makeQuery(int size) throws java.lang.Exception
QueryMakermakeQuery in interface QueryMakersize - the size of the query - number of terms, etc.java.lang.Exception - if cannot make the query, or if size>0 was specified but this feature is not supported.public Query makeQuery() throws java.lang.Exception
QueryMakermakeQuery in interface QueryMakerjava.lang.Exceptionpublic void setConfig(Config config) throws java.lang.Exception
QueryMakersetConfig in interface QueryMakerjava.lang.Exceptionpublic void resetInputs()
QueryMakerresetInputs in interface QueryMakerpublic java.lang.String printQueries()
QueryMakerprintQueries in interface QueryMakerCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.