public interface Cursor extends Closeable
| Modifier and Type | Field and Description |
|---|---|
static int |
FIELD_TYPE_BLOB |
static int |
FIELD_TYPE_FLOAT |
static int |
FIELD_TYPE_INTEGER |
static int |
FIELD_TYPE_NULL |
static int |
FIELD_TYPE_STRING |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
copyStringToBuffer(int columnIndex,
CharArrayBuffer buffer) |
void |
deactivate()
Deprecated.
|
byte[] |
getBlob(int columnIndex) |
int |
getColumnCount() |
int |
getColumnIndex(String columnName) |
int |
getColumnIndexOrThrow(String columnName) |
String |
getColumnName(int columnIndex) |
String[] |
getColumnNames() |
int |
getCount() |
double |
getDouble(int columnIndex) |
Bundle |
getExtras() |
float |
getFloat(int columnIndex) |
int |
getInt(int columnIndex) |
long |
getLong(int columnIndex) |
int |
getPosition() |
short |
getShort(int columnIndex) |
String |
getString(int columnIndex) |
int |
getType(int columnIndex) |
boolean |
getWantsAllOnMoveCalls() |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
boolean |
isClosed() |
boolean |
isFirst() |
boolean |
isLast() |
boolean |
isNull(int columnIndex) |
boolean |
move(int offset) |
boolean |
moveToFirst() |
boolean |
moveToLast() |
boolean |
moveToNext() |
boolean |
moveToPosition(int position) |
boolean |
moveToPrevious() |
void |
registerContentObserver(ContentObserver observer) |
void |
registerDataSetObserver(DataSetObserver observer) |
boolean |
requery()
Deprecated.
|
Bundle |
respond(Bundle extras) |
void |
setNotificationUri(ContentResolver cr,
Uri uri) |
void |
unregisterContentObserver(ContentObserver observer) |
void |
unregisterDataSetObserver(DataSetObserver observer) |
static final int FIELD_TYPE_NULL
static final int FIELD_TYPE_INTEGER
static final int FIELD_TYPE_FLOAT
static final int FIELD_TYPE_STRING
static final int FIELD_TYPE_BLOB
int getCount()
int getPosition()
boolean move(int offset)
boolean moveToPosition(int position)
boolean moveToFirst()
boolean moveToLast()
boolean moveToNext()
boolean moveToPrevious()
boolean isFirst()
boolean isLast()
boolean isBeforeFirst()
boolean isAfterLast()
int getColumnIndex(String columnName)
int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException
IllegalArgumentExceptionString getColumnName(int columnIndex)
String[] getColumnNames()
int getColumnCount()
byte[] getBlob(int columnIndex)
String getString(int columnIndex)
void copyStringToBuffer(int columnIndex,
CharArrayBuffer buffer)
short getShort(int columnIndex)
int getInt(int columnIndex)
long getLong(int columnIndex)
float getFloat(int columnIndex)
double getDouble(int columnIndex)
int getType(int columnIndex)
boolean isNull(int columnIndex)
@Deprecated void deactivate()
@Deprecated boolean requery()
void close()
close in interface AutoCloseableclose in interface Closeableboolean isClosed()
void registerContentObserver(ContentObserver observer)
void unregisterContentObserver(ContentObserver observer)
void registerDataSetObserver(DataSetObserver observer)
void unregisterDataSetObserver(DataSetObserver observer)
void setNotificationUri(ContentResolver cr, Uri uri)
boolean getWantsAllOnMoveCalls()
Bundle getExtras()
Copyright © 2008-2013. All Rights Reserved.