Query.Builder
Stay organized with collections
Save and categorize content based on your preferences.
A builder for creating queries.
Public Constructor Summary
|
|
|
Query.Builder( Query
query)
Creates a new builder with initial values from an existing query.
|
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Constructors
public Query.Builder (Query
query)
Creates a new builder with initial values from an existing query.
Public Methods
Adds a search filter to the query. If more than one filter is added, they are
combined with
and(Filter, Filter)
. Skips MatchAllFilter
.
This method was deprecated.
Paging is not supported.
Set the page token to retrieve the next page of results.
Sets the SortOrder
to be used to sort the query results. Use SortOrder.Builder
to build the sort order as required. Multiple calls to this method resets the sort
order set in previous calls.
Parameters
sortOrder |
the order to be used to sort the query results |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2017-11-06 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]