java.lang.Object | |||
android.database.AbstractCursor | CrossProcessCursor | ||
android.database.AbstractWindowedCursor |
A base class for Cursors that store their data in CursorWindows.
protected | CursorWindow | mWindow | This needs be updated in onMove(int, int) by subclasses, and needs to be set to NULL when the contents of the cursor change. |
AbstractWindowedCursor() |
void | copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) | |||||
Retrieves the requested column text and stores it in the buffer provided. | ||||||
byte[] | getBlob(int columnIndex) | |||||
Returns the value of the requested column as a byte array. | ||||||
double | getDouble(int columnIndex) | |||||
Returns the value of the requested column as a double. | ||||||
float | getFloat(int columnIndex) | |||||
Returns the value of the requested column as a float. | ||||||
int | getInt(int columnIndex) | |||||
Returns the value of the requested column as an int. | ||||||
long | getLong(int columnIndex) | |||||
Returns the value of the requested column as a long. | ||||||
short | getShort(int columnIndex) | |||||
Returns the value of the requested column as a short. | ||||||
String | getString(int columnIndex) | |||||
Returns the value of the requested column as a String. | ||||||
CursorWindow | getWindow() | |||||
returns a pre-filled window, return NULL if no such window | ||||||
boolean | hasWindow() | |||||
boolean | isBlob(int columnIndex) | |||||
boolean | isNull(int columnIndex) | |||||
Returns true if the value in the indicated column is null. |
||||||
void | setWindow(CursorWindow window) | |||||
Set a new cursor window to cursor, usually set a remote cursor window |
void | checkPosition() | |||||
This function throws CursorIndexOutOfBoundsException if the cursor position is out of bounds. |
If the native content of that column is not blob exception may throw
If the native content of that column is not numeric the result will be the result of passing the column value to Double.valueOf(x).
If the native content of that column is not numeric the result will be the result of passing the column value to Float.valueOf(x).
If the native content of that column is not numeric the result will be the result of passing the column value to Integer.valueOf(x).
If the native content of that column is not numeric the result will be the result of passing the column value to Long.valueOf(x).
If the native content of that column is not numeric the result will be the result of passing the column value to Short.valueOf(x).
If the native content of that column is not text the result will be the result of passing the column value to String.valueOf(x).
true
if the value in the indicated column is null.
window | cursor window |
---|
Copyright 2007 Google Inc. | Build 0.9_r1-98467 - 14 Aug 2008 18:48 |