Query

public final class Query
extends Object

java.lang.Object
   ↳ androidx.contentpager.content.Query


Encapsulates information related to calling ContentResolver.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

Public methods

equals

public boolean equals (Object obj)

Parameters
obj Object

Returns
boolean

getId

public int getId ()

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

getLimit

public int getLimit ()

Returns
int the limit.

getOffset

public int getOffset ()

Returns
int the offset.

getUri

public Uri getUri ()

Returns
Uri the Uri.

hashCode

public int hashCode ()

Returns
int

toString

public String toString ()

Returns
String