Android 2.3 Gingerbread

Package android.database

Contains classes to explore data returned through a content provider.

See:
          Description

Interface Summary
CrossProcessCursor  
Cursor This interface provides random read-write access to the result set returned by a database query.
IBulkCursor This interface provides a low-level way to pass bulk cursor data across both process and language boundries.
 

Class Summary
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.
AbstractCursor.SelfContentObserver Cursors use this class to track changes others make to their URI.
AbstractWindowedCursor A base class for Cursors that store their data in CursorWindows.
BulkCursorNative Native implementation of the bulk cursor.
BulkCursorProxy  
BulkCursorToCursorAdaptor Adapts an IBulkCursor to a Cursor for use in the local process.
CharArrayBuffer This is used for Cursor.copyStringToBuffer(int, android.database.CharArrayBuffer)
ContentObservable A specialization of Observable for ContentObserver that provides methods for invoking the various callback methods of ContentObserver.
ContentObserver Receives call backs for changes to content.
CursorJoiner Does a join on two cursors using the specified columns.
CursorToBulkCursorAdaptor Wraps a BulkCursor around an existing Cursor making it remotable.
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.
DatabaseUtils.InsertHelper This class allows users to do multiple inserts into a table but compile the SQL insert statement only once, which may increase performance.
DataSetObservable A specialization of Observable for DataSetObserver that provides methods for invoking the various callback methods of DataSetObserver.
DataSetObserver Receives call backs when a data set has been changed, or made invalid.
MatrixCursor A mutable cursor implementation backed by an array of Objects.
MergeCursor A convience class that lets you present an array of Cursors as a single linear Cursor.
Observable<T> Provides methods for (un)registering arbitrary observers in an ArrayList.
 

Enum Summary
CursorJoiner.Result The result of a call to next().
 

Exception Summary
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.
 

Package android.database Description

Contains classes to explore data returned through a content provider.

If you need to manage data in a private database, use the android.database.sqlite classes. These classes are used to manage the Cursor object returned from a content provider query. Databases are usually created and opened with Context.openOrCreateDatabase(java.lang.String, int, android.database.sqlite.SQLiteDatabase.CursorFactory) To make requests through content providers, you can use the content.ContentResolver class.

All databases are stored on the device in /data/data/<package_name>/databases


Android 2.3 Gingerbread