[ Web Proxy ]
URL:
Viewing: https://developer.android.com/reference/android/support/content/Query [Back]  [Original]

Query  |  API reference  |  Android Developers Skip to main content
Essentials Design & Plan Develop Google Play Blog
Search:
Android Studio
Android Developers [Android Developers]
Stay organized with collections Save and categorize content based on your preferences.
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

disclosure_down.png [disclosure_down.png] From class java.lang.Object
Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait(long arg0, int arg1)
final void wait(long arg0)
final void wait()

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

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page