android.database
Interface Cursor
- All Known Subinterfaces:
- CrossProcessCursor
- All Known Implementing Classes:
- AbstractCursor, AbstractWindowedCursor, CursorWrapper, MatrixCursor, MergeCursor, SQLiteCursor
public interface Cursor
FIELD_TYPE_NULL
static final int FIELD_TYPE_NULL
- See Also:
- Constant Field Values
FIELD_TYPE_INTEGER
static final int FIELD_TYPE_INTEGER
- See Also:
- Constant Field Values
FIELD_TYPE_FLOAT
static final int FIELD_TYPE_FLOAT
- See Also:
- Constant Field Values
FIELD_TYPE_STRING
static final int FIELD_TYPE_STRING
- See Also:
- Constant Field Values
FIELD_TYPE_BLOB
static final int FIELD_TYPE_BLOB
- See Also:
- Constant Field Values
getCount
int getCount()
getPosition
int getPosition()
move
boolean move(int offset)
moveToPosition
boolean moveToPosition(int position)
moveToFirst
boolean moveToFirst()
moveToLast
boolean moveToLast()
moveToNext
boolean moveToNext()
moveToPrevious
boolean moveToPrevious()
isFirst
boolean isFirst()
isLast
boolean isLast()
isBeforeFirst
boolean isBeforeFirst()
isAfterLast
boolean isAfterLast()
getColumnIndex
int getColumnIndex(String columnName)
getColumnIndexOrThrow
int getColumnIndexOrThrow(String columnName)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getColumnName
String getColumnName(int columnIndex)
getColumnNames
String[] getColumnNames()
getColumnCount
int getColumnCount()
getBlob
byte[] getBlob(int columnIndex)
getString
String getString(int columnIndex)
copyStringToBuffer
void copyStringToBuffer(int columnIndex,
CharArrayBuffer buffer)
getShort
short getShort(int columnIndex)
getInt
int getInt(int columnIndex)
getLong
long getLong(int columnIndex)
getFloat
float getFloat(int columnIndex)
getDouble
double getDouble(int columnIndex)
getType
int getType(int columnIndex)
isNull
boolean isNull(int columnIndex)
deactivate
void deactivate()
requery
boolean requery()
close
void close()
isClosed
boolean isClosed()
registerContentObserver
void registerContentObserver(ContentObserver observer)
unregisterContentObserver
void unregisterContentObserver(ContentObserver observer)
registerDataSetObserver
void registerDataSetObserver(DataSetObserver observer)
unregisterDataSetObserver
void unregisterDataSetObserver(DataSetObserver observer)
setNotificationUri
void setNotificationUri(ContentResolver cr,
Uri uri)
getWantsAllOnMoveCalls
boolean getWantsAllOnMoveCalls()
getExtras
Bundle getExtras()
respond
Bundle respond(Bundle extras)
Copyright © 2008-2012. All Rights Reserved.