public static class SuggestOracle.Request extends Object implements IsSerializable
SuggestOracle
request.Constructor and Description |
---|
Request()
Constructor for
SuggestOracle.Request . |
Request(String query)
Constructor for
SuggestOracle.Request . |
Request(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.
|
String |
getQuery()
Gets the query string.
|
void |
setLimit(int limit)
Sets the limit on the number of suggestions that should be created.
|
void |
setQuery(String query)
Sets the query string used for this request.
|
public Request()
SuggestOracle.Request
.public Request(String query)
SuggestOracle.Request
.query
- the query stringpublic Request(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 String getQuery()
public void setLimit(int limit)
limit
- the limitpublic void setQuery(String query)
query
- the query stringCopyright © 2018. All rights reserved.