public class

Query

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.drive.query.Query

Class Overview

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

Summary

Nested Classes
class Query.Builder A builder for creating queries. 
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<Query> CREATOR
Public Methods
Filter getFilter()
Get the filters that will restrict the query results.
String getPageToken()
This method is deprecated. Paging is not supported.
SortOrder getSortOrder()
Returns SortOrder containing information about sorting order of the query.
String toString()
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<Query> CREATOR

Public Methods

public Filter getFilter ()

Get the filters that will restrict the query results.

Returns
Filter

public String getPageToken ()

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.

Returns
String

public SortOrder getSortOrder ()

Returns SortOrder containing information about sorting order of the query. Can be null when no sorting order is added to the query.

Returns
SortOrder

public String toString ()

Returns
String

public void writeToParcel (Parcel out, int flags)

Parameters
out Parcel
flags int