public class UserCustomCursor extends UserCursor<UserCustomColumn,UserCustomTable,UserCustomRow>
FIELD_TYPE_BLOB, FIELD_TYPE_FLOAT, FIELD_TYPE_INTEGER, FIELD_TYPE_NULL, FIELD_TYPE_STRING| Constructor and Description |
|---|
UserCustomCursor(UserCustomTable table,
Cursor cursor)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected UserInvalidCursor<UserCustomColumn,UserCustomTable,UserCustomRow,? extends UserCursor<UserCustomColumn,UserCustomTable,UserCustomRow>,? extends UserDao<UserCustomColumn,UserCustomTable,UserCustomRow,? extends UserCursor<UserCustomColumn,UserCustomTable,UserCustomRow>>> |
createInvalidCursor(UserDao dao,
UserCursor cursor,
List<Integer> invalidPositions,
List<UserCustomColumn> blobColumns)
Create an invalid cursor
|
void |
enableInvalidRequery(UserCustomDao dao)
Enable requery attempt of invalid rows after iterating through original query rows.
|
UserCustomRow |
getRow(int[] columnTypes,
Object[] values) |
close, enableInvalidRequery, getInvalidPositions, getQuery, getRow, getTable, getValue, getValue, hasInvalidPositions, moveToNext, setQuery, wasNullcopyStringToBuffer, deactivate, getBlob, getColumnCount, getColumnIndex, getColumnIndexOrThrow, getColumnName, getColumnNames, getCount, getDouble, getExtras, getFloat, getInt, getLong, getNotificationUri, getPosition, getShort, getString, getType, getWantsAllOnMoveCalls, getWrappedCursor, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, isNull, move, moveToFirst, moveToLast, moveToPosition, moveToPrevious, registerContentObserver, registerDataSetObserver, requery, respond, setExtras, setNotificationUri, unregisterContentObserver, unregisterDataSetObserverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBlob, getColumnIndex, getCount, getDouble, getFloat, getInt, getLong, getPosition, getShort, getString, getType, moveToFirst, moveToPositionpublic UserCustomCursor(UserCustomTable table, Cursor cursor)
table - user custom tablecursor - cursorpublic UserCustomRow getRow(int[] columnTypes, Object[] values)
public void enableInvalidRequery(UserCustomDao dao)
UserCursor.moveToNext() and UserCursor.getRow() usage.dao - data access object used to perform requeryprotected UserInvalidCursor<UserCustomColumn,UserCustomTable,UserCustomRow,? extends UserCursor<UserCustomColumn,UserCustomTable,UserCustomRow>,? extends UserDao<UserCustomColumn,UserCustomTable,UserCustomRow,? extends UserCursor<UserCustomColumn,UserCustomTable,UserCustomRow>>> createInvalidCursor(UserDao dao, UserCursor cursor, List<Integer> invalidPositions, List<UserCustomColumn> blobColumns)
createInvalidCursor in class UserCursor<UserCustomColumn,UserCustomTable,UserCustomRow>dao - data access objectcursor - user cursorinvalidPositions - invalid positionsblobColumns - blob columns