abstract
void
|
close()
Closes the Cursor, releasing all of its resources and making it completely invalid.
|
abstract
void
|
copyStringToBuffer(int columnIndex, CharArrayBuffer buffer)
Retrieves the requested column text and stores it in the buffer provided.
|
abstract
void
|
deactivate()
Deactivates the Cursor, making all calls on it fail until requery() is called.
|
abstract
byte[]
|
getBlob(int columnIndex)
Returns the value of the requested column as a byte array.
|
abstract
int
|
getColumnCount()
Return total number of columns
|
abstract
int
|
getColumnIndex(String columnName)
Returns the zero-based index for the given column name, or -1 if the column doesn't exist.
|
abstract
int
|
getColumnIndexOrThrow(String columnName)
|
abstract
String
|
getColumnName(int columnIndex)
Returns the column name at the given zero-based column index.
|
abstract
String[]
|
getColumnNames()
Returns a string array holding the names of all of the columns in the
result set in the order in which they were listed in the result.
|
abstract
int
|
getCount()
Returns the numbers of rows in the cursor.
|
abstract
double
|
getDouble(int columnIndex)
Returns the value of the requested column as a double.
|
abstract
Bundle
|
getExtras()
Returns a bundle of extra values.
|
abstract
float
|
getFloat(int columnIndex)
Returns the value of the requested column as a float.
|
abstract
int
|
getInt(int columnIndex)
Returns the value of the requested column as an int.
|
abstract
long
|
getLong(int columnIndex)
Returns the value of the requested column as a long.
|
abstract
int
|
getPosition()
Returns the current position of the cursor in the row set.
|
abstract
short
|
getShort(int columnIndex)
Returns the value of the requested column as a short.
|
abstract
String
|
getString(int columnIndex)
Returns the value of the requested column as a String.
|
abstract
boolean
|
getWantsAllOnMoveCalls()
onMove() will only be called across processes if this method returns true.
|
abstract
boolean
|
isAfterLast()
Returns whether the cursor is pointing to the position after the last
row.
|
abstract
boolean
|
isBeforeFirst()
Returns whether the cursor is pointing to the position before the first
row.
|
abstract
boolean
|
isClosed()
return true if the cursor is closed
|
abstract
boolean
|
isFirst()
Returns whether the cursor is pointing to the first row.
|
abstract
boolean
|
isLast()
Returns whether the cursor is pointing to the last row.
|
abstract
boolean
|
isNull(int columnIndex)
Returns true if the value in the indicated column is null.
|
abstract
boolean
|
move(int offset)
Move the cursor by a relative amount, forward or backward, from the
current position.
|
abstract
boolean
|
moveToFirst()
Move the cursor to the first row.
|
abstract
boolean
|
moveToLast()
Move the cursor to the last row.
|
abstract
boolean
|
moveToNext()
Move the cursor to the next row.
|
abstract
boolean
|
moveToPosition(int position)
Move the cursor to an absolute position.
|
abstract
boolean
|
moveToPrevious()
Move the cursor to the previous row.
|
abstract
void
|
registerContentObserver(ContentObserver observer)
Register an observer that is called when changes happen to the content backing this cursor.
|
abstract
void
|
registerDataSetObserver(DataSetObserver observer)
Register an observer that is called when changes happen to the contents
of the this cursors data set, for example, when the data set is changed via
requery(), deactivate(), or close().
|
abstract
boolean
|
requery()
Performs the query that created the cursor again, refreshing its
contents.
|
abstract
Bundle
|
respond(Bundle extras)
This is an out-of-band way for the the user of a cursor to communicate with the cursor.
|
abstract
void
|
setNotificationUri(ContentResolver cr, Uri uri)
Register to watch a content URI for changes.
|
abstract
void
|
unregisterContentObserver(ContentObserver observer)
|
abstract
void
|
unregisterDataSetObserver(DataSetObserver observer)
|