Google is committed to advancing racial equity for Black communities. See how.

android.database

Classes

AbstractCursor

This is an abstract cursor class that handles a lot of the common code that all cursors need to deal with and is provided for convenience reasons.

AbstractWindowedCursor

A base class for Cursors that store their data in CursorWindows.

CharArrayBuffer

This is used for Cursor#copyStringToBuffer

ContentObservable

A specialization of Observable for ContentObserver that provides methods for sending notifications to a list of ContentObserver objects.

ContentObserver

Receives call backs for changes to content.

CrossProcessCursorWrapper

Cursor wrapper that implements CrossProcessCursor.

CursorJoiner

Does a join on two cursors using the specified columns.

CursorWindow

A buffer containing multiple cursor rows.

CursorWrapper

Wrapper class for Cursor that delegates all calls to the actual cursor object.

DatabaseUtils

Static utility methods for dealing with databases and Cursors.

DataSetObservable

A specialization of Observable for DataSetObserver that provides methods for sending notifications to a list of DataSetObserver objects.

DataSetObserver

Receives call backs when a data set has been changed, or made invalid.

DefaultDatabaseErrorHandler

Default class used to define the action to take when database corruption is reported by sqlite.

MatrixCursor

A mutable cursor implementation backed by an array of Objects.

MergeCursor

A convenience class that lets you present an array of Cursors as a single linear Cursor.

Observable

Provides methods for registering or unregistering arbitrary observers in an ArrayList.

Exceptions

CursorIndexOutOfBoundsException

An exception indicating that a cursor is out of bounds.

SQLException

An exception that indicates there was an error with SQL parsing or execution.

StaleDataException

This exception is thrown when a Cursor contains stale data and must be requeried before being used again.