java.lang.Object | |
↳ | com.google.android.gms.drive.query.Query.Builder |
A builder for creating queries.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new builder with initial values from an existing query.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a search filter to the query.
| |||||||||||
This method is deprecated.
Paging is not supported.
| |||||||||||
Sets the
SortOrder to be used to sort the query results. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new builder with initial values from an existing query.
Parameters | |
---|---|
query |
Query |
Adds a search filter to the query. If more than one filter is added, they are combined with
and(Filter, Filter)
. Skips MatchAllFilter
.
Parameters | |
---|---|
filter |
Filter |
Returns | |
---|---|
Query.Builder |
This method is deprecated.
Paging is not supported.
Set the page token to retrieve the next page of results.
Parameters | |
---|---|
token |
String |
Returns | |
---|---|
Query.Builder |
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 |
SortOrder : the order to be used to sort the query results
|
Returns | |
---|---|
Query.Builder |