|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.search.checkers.QueryChecker
public final class QueryChecker
Checks values of Query.
| Constructor Summary | |
|---|---|
QueryChecker()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
checkQuery(java.lang.String query)
Checks that query is not null and is parsable. |
static SearchParams |
checkValid(SearchParams params)
Checks the search specification is valid, specifically, has a valid index specification, a non-null query, a non-null number of documents to return specification, a valid cursor if present, valid sort specification list, a valid collection of field names for sorting, and a valid scorer specification. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryChecker()
| Method Detail |
|---|
public static java.lang.String checkQuery(java.lang.String query)
query - the query to check
SearchQueryException - if the query is not parsablepublic static SearchParams checkValid(SearchParams params)
params - the SearchParams to check
java.lang.IllegalArgumentException - if some part of the specification is
invalid
SearchQueryException - if the query is unparsable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||