Reference:Android.content.DatabaseContentProvider.DcpCursor

From Triled Wiki

Jump to: navigation, search


android.content
protected class android.content.DatabaseContentProvider.DcpCursor

java.lang.Object
android.database.AbstractCursor Cursor
android.database.AbstractWindowedCursor
android.database.sqlite.SQLiteCursor
android.content.DatabaseContentProvider.DcpCursor

A specialization of SQLiteCursor that protects commitUpdates with a lock.

Contents

[edit] Summary


[edit] Fields inherited from class android.database.AbstractWindowedCursor
mWindow
[edit] Fields inherited from class android.database.AbstractCursor

mContentResolver, mCurrentRowID, mPos, mRowIdColumnIndex, mUpdatedRows

[edit] Protected Constructors

          DatabaseContentProvider.DcpCursor (SQLiteDatabase db, SQLiteCursorDriver compiledQuery, String editTable, SQLiteQuery query, int count)

[edit] Public Methods

        boolean  >)">commitUpdates (Map additionalValues)
Atomically commits all updates to the backing store, as well as the updates included in values.

[edit] Methods inherited from class android.database.sqlite.SQLiteCursor
close, >)">commitUpdates, >, boolean)">commitUpdatesInternal, count, deactivate, deleteRow, finalize, getColumnIndex, getColumnNames, onMove, requery, setSelectionArguments, supportsUpdates
[edit] Methods inherited from class android.database.AbstractWindowedCursor
checkPosition, getDouble, getFloat, getInt, getLong, getShort, getString, isNull
[edit] Methods inherited from class android.database.AbstractCursor
abortUpdates, checkPosition, close, >)">commitUpdates, commitUpdates, count, deactivate, deleteRow, finalize, first, getColumnIndex, getColumnName, getColumnNames, getDouble, getExtras, getFloat, getInt, getLong, getShort, getString, getUpdatedField, getWantsAllOnMoveCalls, hasUpdates, isAfterLast, isBeforeFirst, isFieldUpdated, isFirst, isLast, isNull, last, move, moveTo, next, onChange, onMove, position, prev, registerContentObserver, registerDataSetObserver, requery, respond, setNotificationUri, supportsUpdates, unregisterContentObserver, unregisterDataSetObserver, update, updateDouble, updateFloat, updateInt, updateLong, updateShort, updateString, updateToNull
[edit] Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
[edit] Methods inherited from interface android.database.Cursor

abortUpdates, close, >)">commitUpdates, commitUpdates, count, deactivate, deleteRow, first, getColumnIndex, getColumnName, getColumnNames, getDouble, getExtras, getFloat, getInt, getLong, getShort, getString, getWantsAllOnMoveCalls, hasUpdates, isAfterLast, isBeforeFirst, isFirst, isLast, isNull, last, move, moveTo, next, position, prev, registerContentObserver, registerDataSetObserver, requery, respond, setNotificationUri, supportsUpdates, unregisterContentObserver, unregisterDataSetObserver, updateDouble, updateFloat, updateInt, updateLong, updateShort, updateString, updateToNull

[edit] Details

[edit] Protected Constructors

[edit] protected DatabaseContentProvider.DcpCursor(SQLiteDatabase db, SQLiteCursorDriver compiledQuery, String editTable, SQLiteQuery query, int count)

[edit] Public Methods

[edit] public boolean commitUpdates(Map additionalValues)

Atomically commits all updates to the backing store, as well as the updates included in values. After completion, this method leaves the data in an inconsistent state and you should call requery() before reading data from the cursor again.

[edit] References

Personal tools