Cursor
, Closeable
, AutoCloseable
RoboCursor
MatrixCursor
instead.@Deprecated public class BaseCursor extends Object implements Cursor
Cursor
.FIELD_TYPE_BLOB, FIELD_TYPE_FLOAT, FIELD_TYPE_INTEGER, FIELD_TYPE_NULL, FIELD_TYPE_STRING
Constructor | Description |
---|---|
BaseCursor() |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
Deprecated.
|
void |
copyStringToBuffer(int columnIndex,
CharArrayBuffer buffer) |
Deprecated.
|
void |
deactivate() |
Deprecated.
|
byte[] |
getBlob(int columnIndex) |
Deprecated.
|
int |
getColumnCount() |
Deprecated.
|
int |
getColumnIndex(String columnName) |
Deprecated.
|
int |
getColumnIndexOrThrow(String columnName) |
Deprecated.
|
String |
getColumnName(int columnIndex) |
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.
|
Uri |
getNotificationUri() |
Deprecated.
|
int |
getPosition() |
Deprecated.
|
short |
getShort(int columnIndex) |
Deprecated.
|
String |
getString(int columnIndex) |
Deprecated.
|
int |
getType(int columnIndex) |
Deprecated.
|
boolean |
getWantsAllOnMoveCalls() |
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 |
registerContentObserver(ContentObserver observer) |
Deprecated.
|
void |
registerDataSetObserver(DataSetObserver observer) |
Deprecated.
|
boolean |
requery() |
Deprecated.
|
Bundle |
respond(Bundle extras) |
Deprecated.
|
void |
setExtras(Bundle extras) |
Deprecated.
|
void |
setNotificationUri(ContentResolver cr,
Uri uri) |
Deprecated.
|
void |
setQuery(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder) |
Deprecated.
|
void |
unregisterContentObserver(ContentObserver observer) |
Deprecated.
|
void |
unregisterDataSetObserver(DataSetObserver observer) |
Deprecated.
|
getNotificationUris, setNotificationUris
public int getPosition()
getPosition
in interface Cursor
public boolean moveToPosition(int position)
moveToPosition
in interface Cursor
public boolean moveToFirst()
moveToFirst
in interface Cursor
public boolean moveToLast()
moveToLast
in interface Cursor
public boolean moveToNext()
moveToNext
in interface Cursor
public boolean moveToPrevious()
moveToPrevious
in interface Cursor
public boolean isBeforeFirst()
isBeforeFirst
in interface Cursor
public boolean isAfterLast()
isAfterLast
in interface Cursor
public int getColumnIndex(String columnName)
getColumnIndex
in interface Cursor
public int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException
getColumnIndexOrThrow
in interface Cursor
IllegalArgumentException
public String getColumnName(int columnIndex)
getColumnName
in interface Cursor
public String[] getColumnNames()
getColumnNames
in interface Cursor
public int getColumnCount()
getColumnCount
in interface Cursor
public byte[] getBlob(int columnIndex)
public String getString(int columnIndex)
public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer)
copyStringToBuffer
in interface Cursor
public short getShort(int columnIndex)
public float getFloat(int columnIndex)
public double getDouble(int columnIndex)
public void deactivate()
deactivate
in interface Cursor
public void close()
public void registerContentObserver(ContentObserver observer)
registerContentObserver
in interface Cursor
public void unregisterContentObserver(ContentObserver observer)
unregisterContentObserver
in interface Cursor
public void registerDataSetObserver(DataSetObserver observer)
registerDataSetObserver
in interface Cursor
public void unregisterDataSetObserver(DataSetObserver observer)
unregisterDataSetObserver
in interface Cursor
public void setNotificationUri(ContentResolver cr, Uri uri)
setNotificationUri
in interface Cursor
public Uri getNotificationUri()
getNotificationUri
in interface Cursor
public boolean getWantsAllOnMoveCalls()
getWantsAllOnMoveCalls
in interface Cursor
public void setExtras(Bundle extras)