|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.search.Query.Builder
public static class Query.Builder
A builder which constructs Query objects.
| Method Summary | |
|---|---|
Query |
build()
Construct the message. |
Query |
build(java.lang.String queryString)
Build a Query from the query string and the parameters set on
the Query.Builder. |
Query.Builder |
setOptions(QueryOptions.Builder optionsBuilder)
Sets the query options from a builder. |
Query.Builder |
setOptions(QueryOptions options)
Sets the query options. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Query.Builder setOptions(QueryOptions options)
options - the QueryOptions to apply to the search results
public Query.Builder setOptions(QueryOptions.Builder optionsBuilder)
optionsBuilder - the QueryOptions.Builder build a
QueryOptions to apply to the search results
public Query build(java.lang.String queryString)
Query from the query string and the parameters set on
the Query.Builder. A query string can be as simple as a single term
("foo"), or as complex as a boolean expression, including field names
("title:hello OR body:important -october").
queryString - the query string to parse and apply to an index
SearchQueryException - if the query string is invalidpublic Query build()
java.lang.IllegalArgumentException - if the query string is invalid
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||