Query

public classQueryextendsObject
implementsParcelable

The query object specifies constraints on a query result, including filters and sort order.

Nested Class Summary

class Query.Builder A builder for creating queries.

Inherited Constant Summary

Field Summary

public static finalCreator<Query> CREATOR

Public Method Summary

Filter
getFilter()
Get the filters that will restrict the query results.
String
getPageToken()
This method is deprecated. Paging is not supported.
SortOrder
getSortOrder()
ReturnsSortOrder containing information about sorting order of the query.
String
void
writeToParcel(Parcelout, int flags)

Inherited Method Summary

Fields

public static finalCreator<Query> CREATOR

Public Methods

publicFilter getFilter()

Get the filters that will restrict the query results.

publicStringgetPageToken()

This method is deprecated.
Paging is not supported.

A token that indicates the next page of results to retrieve. This should be a token that was returned in a previous query.

publicSortOrder getSortOrder()

ReturnsSortOrder containing information about sorting order of the query. Can benullwhen no sorting order is added to the query.

publicStringtoString()

public voidwriteToParcel(Parcelout, int flags)