Android.Database Namespace

If you need to manage data in a private database, use the Android.Database.Sqlite classes.

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.

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.

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.

CursorIndexOutOfBoundsException

An exception indicating that a cursor is out of bounds.

CursorJoiner

Does a join on two cursors using the specified columns.

CursorJoiner.Result

The result of a call to next().

CursorWindow

A buffer containing multiple cursor rows.

CursorWindow.InterfaceConsts
CursorWindowAllocationException

This exception is thrown when a CursorWindow couldn't be allocated, most probably due to memory not being available.

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 using the same statement.

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.

MatrixCursor.RowBuilder

Builds a row of values using either of these approaches: <ul> <li>Values can be added with explicit column ordering using #add(Object), which starts from the left-most column and adds one column value at a time.

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.

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.

Interfaces

ICrossProcessCursor

A cross process cursor is an extension of a Cursor that also supports usage from remote processes.

ICursor

This interface provides random read-write access to the result set returned by a database query.

IDatabaseErrorHandler

An interface to let apps define an action to take when database corruption is detected.

Enums

FieldType

Enumerates values returned by several types.

StatementType

Enumerates values returned by several types.