public static class SuggestOracle.Request extends java.lang.Object implements IsSerializable
SuggestOracle
request.Constructor and Description |
---|
Request()
Constructor for
SuggestOracle.Request . |
Request(java.lang.String query)
Constructor for
SuggestOracle.Request . |
Request(java.lang.String query,
int limit)
Constructor for
SuggestOracle.Request . |
Modifier and Type | Method and Description |
---|---|
int |
getLimit()
Gets the limit on the number of suggestions that should be created.
|
java.lang.String |
getQuery()
Gets the query string.
|
void |
setLimit(int limit)
Sets the limit on the number of suggestions that should be created.
|
void |
setQuery(java.lang.String query)
Sets the query string used for this request.
|
public Request()
SuggestOracle.Request
.public Request(java.lang.String query)
SuggestOracle.Request
.query
- the query stringpublic Request(java.lang.String query, int limit)
SuggestOracle.Request
.query
- the query stringlimit
- limit on the number of suggestions that should be created
for this querypublic int getLimit()
public java.lang.String getQuery()
public void setLimit(int limit)
limit
- the limitpublic void setQuery(java.lang.String query)
query
- the query string