Cursor
, Closeable
, AutoCloseable
MatrixCursor
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, unregisterDataSetObserver
getNotificationUris, setNotificationUris
public 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 BaseCursor
public int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException
getColumnIndexOrThrow
in interface Cursor
getColumnIndexOrThrow
in class BaseCursor
IllegalArgumentException
public int getColumnIndex(String columnName)
getColumnIndex
in interface Cursor
getColumnIndex
in class BaseCursor
public String getString(int columnIndex)
getString
in interface Cursor
getString
in class BaseCursor
public short getShort(int columnIndex)
getShort
in interface Cursor
getShort
in class BaseCursor
public int getInt(int columnIndex)
getInt
in interface Cursor
getInt
in class BaseCursor
public long getLong(int columnIndex)
getLong
in interface Cursor
getLong
in class BaseCursor
public float getFloat(int columnIndex)
getFloat
in interface Cursor
getFloat
in class BaseCursor
public double getDouble(int columnIndex)
getDouble
in interface Cursor
getDouble
in class BaseCursor
public byte[] getBlob(int columnIndex)
getBlob
in interface Cursor
getBlob
in class BaseCursor
public int getType(int columnIndex)
getType
in interface Cursor
getType
in class BaseCursor
public boolean isNull(int columnIndex)
isNull
in interface Cursor
isNull
in class BaseCursor
public int getCount()
getCount
in interface Cursor
getCount
in class BaseCursor
public boolean moveToNext()
moveToNext
in interface Cursor
moveToNext
in class BaseCursor
public boolean moveToFirst()
moveToFirst
in interface Cursor
moveToFirst
in class BaseCursor
public boolean moveToPosition(int position)
moveToPosition
in interface Cursor
moveToPosition
in class BaseCursor
public void close()
close
in interface AutoCloseable
close
in interface Closeable
close
in interface Cursor
close
in class BaseCursor
public int getColumnCount()
getColumnCount
in interface Cursor
getColumnCount
in class BaseCursor
public String getColumnName(int index)
getColumnName
in interface Cursor
getColumnName
in class BaseCursor
public boolean isBeforeFirst()
isBeforeFirst
in interface Cursor
isBeforeFirst
in class BaseCursor
public boolean isAfterLast()
isAfterLast
in interface Cursor
isAfterLast
in class BaseCursor
public boolean isFirst()
isFirst
in interface Cursor
isFirst
in class BaseCursor
public boolean isLast()
isLast
in interface Cursor
isLast
in class BaseCursor
public int getPosition()
getPosition
in interface Cursor
getPosition
in class BaseCursor
public boolean move(int offset)
move
in interface Cursor
move
in class BaseCursor
public boolean moveToLast()
moveToLast
in interface Cursor
moveToLast
in class BaseCursor
public boolean moveToPrevious()
moveToPrevious
in interface Cursor
moveToPrevious
in class BaseCursor
public String[] getColumnNames()
getColumnNames
in interface Cursor
getColumnNames
in class BaseCursor
public boolean isClosed()
isClosed
in interface Cursor
isClosed
in class BaseCursor
public Bundle getExtras()
getExtras
in interface Cursor
getExtras
in class BaseCursor
public void setExtras(Bundle extras)
setExtras
in interface Cursor
setExtras
in class BaseCursor
public void setResults(Object[][] results)
public boolean getCloseWasCalled()