Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.
added in version 27.1.0
belongs to Maven artifact com.android.support:support-content:28.0.0-alpha1

Query

public final class Query
extends Object

java.lang.Object
   ↳ android.support.content.Query


Encapsulates information related to calling query(Uri, String[], Bundle, CancellationSignal), including the logic determining the best query method to call.

Summary

Public methods

boolean equals(Object obj)
int getId()
int getLimit()
int getOffset()
Uri getUri()
int hashCode()
String toString()

Inherited methods

From class java.lang.Object

Public methods

equals

boolean equals (Object obj)

Parameters
obj Object

Returns
boolean

getId

added in version 27.1.0
int getId ()

Returns
int the id for this query. Derived from Uri as well as paging arguments.

getLimit

added in version 27.1.0
int getLimit ()

Returns
int the limit.

getOffset

added in version 27.1.0
int getOffset ()

Returns
int the offset.

getUri

added in version 27.1.0
Uri getUri ()

Returns
Uri the Uri.

hashCode

int hashCode ()

Returns
int

toString

String toString ()

Returns
String