java.lang.Object | ||
↳ | android.database.AbstractCursor | |
↳ | android.database.AbstractWindowedCursor |
Known Direct Subclasses |
A base class for Cursors that store their data in CursorWindows.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.database.AbstractCursor
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the requested column text and stores it in the buffer provided.
| |||||||||||
Returns the value of the requested column as a byte array.
| |||||||||||
Returns the value of the requested column as a double.
| |||||||||||
Returns the value of the requested column as a float.
| |||||||||||
Returns the value of the requested column as an int.
| |||||||||||
Returns the value of the requested column as a long.
| |||||||||||
Returns the value of the requested column as a short.
| |||||||||||
Returns the value of the requested column as a String.
| |||||||||||
returns a pre-filled window, return NULL if no such window
| |||||||||||
Returns
true if the value in the indicated column is null. | |||||||||||
Set a new cursor window to cursor, usually set a remote cursor window
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This function throws CursorIndexOutOfBoundsException if
the cursor position is out of bounds.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class android.database.AbstractCursor
| |||||||||||
From class java.lang.Object
| |||||||||||
From interface android.database.CrossProcessCursor
| |||||||||||
From interface android.database.Cursor
|
This needs be updated in onMove(int, int) by subclasses, and needs to be set to NULL when the contents of the cursor change.
Retrieves the requested column text and stores it in the buffer provided. If the buffer size is not sufficient, a new char buffer will be allocated and assigned to CharArrayBuffer.data
columnIndex | the zero-based index of the target column. if the target column is null, return buffer |
---|---|
buffer | the buffer to copy the text into. |
Returns the value of the requested column as a byte array.
If the native content of that column is not blob exception may throw
columnIndex | the zero-based index of the target column. |
---|
Returns the value of the requested column as a double.
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).
columnIndex | the zero-based index of the target column. |
---|
Returns the value of the requested column as a float.
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).
columnIndex | the zero-based index of the target column. |
---|
Returns the value of the requested column as an int.
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).
columnIndex | the zero-based index of the target column. |
---|
Returns the value of the requested column as a long.
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).
columnIndex | the zero-based index of the target column. |
---|
Returns the value of the requested column as a short.
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).
columnIndex | the zero-based index of the target column. |
---|
Returns the value of the requested column as a String.
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).
columnIndex | the zero-based index of the target column. |
---|
returns a pre-filled window, return NULL if no such window
Returns true
if the value in the indicated column is null.
columnIndex | the zero-based index of the target column. |
---|
Set a new cursor window to cursor, usually set a remote cursor window
window | cursor window |
---|
This function throws CursorIndexOutOfBoundsException if the cursor position is out of bounds. Subclass implementations of the get functions should call this before attempting to retrieve data.