Cursor, Closeable, AutoCloseableMatrixCursor instead.@Deprecated public class RoboCursor extends BaseCursor
Cursor.| Modifier and Type | Field | Description |
|---|---|---|
protected List<String> |
columnNames |
Deprecated.
|
String[] |
projection |
Deprecated.
|
protected Object[][] |
results |
Deprecated.
|
String |
selection |
Deprecated.
|
String[] |
selectionArgs |
Deprecated.
|
String |
sortOrder |
Deprecated.
|
Uri |
uri |
Deprecated.
|
FIELD_TYPE_BLOB, FIELD_TYPE_FLOAT, FIELD_TYPE_INTEGER, FIELD_TYPE_NULL, FIELD_TYPE_STRING| Constructor | Description |
|---|---|
RoboCursor() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Deprecated.
|
byte[] |
getBlob(int columnIndex) |
Deprecated.
|
boolean |
getCloseWasCalled() |
Deprecated.
|
int |
getColumnCount() |
Deprecated.
|
int |
getColumnIndex(String columnName) |
Deprecated.
|
int |
getColumnIndexOrThrow(String columnName) |
Deprecated.
|
String |
getColumnName(int index) |
Deprecated.
|
String[] |
getColumnNames() |
Deprecated.
|
int |
getCount() |
Deprecated.
|
double |
getDouble(int columnIndex) |
Deprecated.
|
Bundle |
getExtras() |
Deprecated.
|
float |
getFloat(int columnIndex) |
Deprecated.
|
int |
getInt(int columnIndex) |
Deprecated.
|
long |
getLong(int columnIndex) |
Deprecated.
|
int |
getPosition() |
Deprecated.
|
short |
getShort(int columnIndex) |
Deprecated.
|
String |
getString(int columnIndex) |
Deprecated.
|
int |
getType(int columnIndex) |
Deprecated.
|
boolean |
isAfterLast() |
Deprecated.
|
boolean |
isBeforeFirst() |
Deprecated.
|
boolean |
isClosed() |
Deprecated.
|
boolean |
isFirst() |
Deprecated.
|
boolean |
isLast() |
Deprecated.
|
boolean |
isNull(int columnIndex) |
Deprecated.
|
boolean |
move(int offset) |
Deprecated.
|
boolean |
moveToFirst() |
Deprecated.
|
boolean |
moveToLast() |
Deprecated.
|
boolean |
moveToNext() |
Deprecated.
|
boolean |
moveToPosition(int position) |
Deprecated.
|
boolean |
moveToPrevious() |
Deprecated.
|
void |
setColumnNames(List<String> columnNames) |
Deprecated.
|
void |
setExtras(Bundle extras) |
Deprecated.
|
void |
setQuery(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder) |
Deprecated.
|
void |
setResults(Object[][] results) |
Deprecated.
|
copyStringToBuffer, deactivate, getNotificationUri, getWantsAllOnMoveCalls, registerContentObserver, registerDataSetObserver, requery, respond, setNotificationUri, unregisterContentObserver, unregisterDataSetObservergetNotificationUris, setNotificationUrispublic Uri uri
public String[] projection
public String selection
public String[] selectionArgs
public String sortOrder
protected Object[][] results
public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder)
setQuery in class BaseCursorpublic int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException
getColumnIndexOrThrow in interface CursorgetColumnIndexOrThrow in class BaseCursorIllegalArgumentExceptionpublic int getColumnIndex(String columnName)
getColumnIndex in interface CursorgetColumnIndex in class BaseCursorpublic String getString(int columnIndex)
getString in interface CursorgetString in class BaseCursorpublic short getShort(int columnIndex)
getShort in interface CursorgetShort in class BaseCursorpublic int getInt(int columnIndex)
getInt in interface CursorgetInt in class BaseCursorpublic long getLong(int columnIndex)
getLong in interface CursorgetLong in class BaseCursorpublic float getFloat(int columnIndex)
getFloat in interface CursorgetFloat in class BaseCursorpublic double getDouble(int columnIndex)
getDouble in interface CursorgetDouble in class BaseCursorpublic byte[] getBlob(int columnIndex)
getBlob in interface CursorgetBlob in class BaseCursorpublic int getType(int columnIndex)
getType in interface CursorgetType in class BaseCursorpublic boolean isNull(int columnIndex)
isNull in interface CursorisNull in class BaseCursorpublic int getCount()
getCount in interface CursorgetCount in class BaseCursorpublic boolean moveToNext()
moveToNext in interface CursormoveToNext in class BaseCursorpublic boolean moveToFirst()
moveToFirst in interface CursormoveToFirst in class BaseCursorpublic boolean moveToPosition(int position)
moveToPosition in interface CursormoveToPosition in class BaseCursorpublic void close()
close in interface AutoCloseableclose in interface Closeableclose in interface Cursorclose in class BaseCursorpublic int getColumnCount()
getColumnCount in interface CursorgetColumnCount in class BaseCursorpublic String getColumnName(int index)
getColumnName in interface CursorgetColumnName in class BaseCursorpublic boolean isBeforeFirst()
isBeforeFirst in interface CursorisBeforeFirst in class BaseCursorpublic boolean isAfterLast()
isAfterLast in interface CursorisAfterLast in class BaseCursorpublic boolean isFirst()
isFirst in interface CursorisFirst in class BaseCursorpublic boolean isLast()
isLast in interface CursorisLast in class BaseCursorpublic int getPosition()
getPosition in interface CursorgetPosition in class BaseCursorpublic boolean move(int offset)
move in interface Cursormove in class BaseCursorpublic boolean moveToLast()
moveToLast in interface CursormoveToLast in class BaseCursorpublic boolean moveToPrevious()
moveToPrevious in interface CursormoveToPrevious in class BaseCursorpublic String[] getColumnNames()
getColumnNames in interface CursorgetColumnNames in class BaseCursorpublic boolean isClosed()
isClosed in interface CursorisClosed in class BaseCursorpublic Bundle getExtras()
getExtras in interface CursorgetExtras in class BaseCursorpublic void setExtras(Bundle extras)
setExtras in interface CursorsetExtras in class BaseCursorpublic void setResults(Object[][] results)
public boolean getCloseWasCalled()