H2Cursor
A cursor implementation.
Methods
void
close
()
void
close
()
void
copyStringToBuffer
(int columnIndex, CharArrayBuffer buffer)
void
copyStringToBuffer
(int columnIndex, CharArrayBuffer buffer)
void
deactivate
()
void
deactivate
()
byte[]
getBlob
(int columnIndex)
byte[]
getBlob
(int columnIndex)
int
getColumnCount
()
int
getColumnCount
()
int
getColumnIndex
(String columnName)
int
getColumnIndex
(String columnName)
int
getColumnIndexOrThrow
(String columnName)
int
getColumnIndexOrThrow
(String columnName)
String
getColumnName
(int columnIndex)
String
getColumnName
(int columnIndex)
String[]
getColumnNames
()
String[]
getColumnNames
()
int
getCount
()
int
getCount
()
H2Database
getDatabase
()
Get the database that created this cursor.
H2Database
getDatabase
()
Get the database that created this cursor.
Returns:
the database
double
getDouble
(int columnIndex)
double
getDouble
(int columnIndex)
Bundle
getExtras
()
Bundle
getExtras
()
float
getFloat
(int columnIndex)
float
getFloat
(int columnIndex)
int
getInt
(int columnIndex)
int
getInt
(int columnIndex)
long
getLong
(int columnIndex)
long
getLong
(int columnIndex)
int
getPosition
()
int
getPosition
()
short
getShort
(int columnIndex)
short
getShort
(int columnIndex)
String
getString
(int columnIndex)
String
getString
(int columnIndex)
boolean
getWantsAllOnMoveCalls
()
boolean
getWantsAllOnMoveCalls
()
boolean
isAfterLast
()
boolean
isAfterLast
()
boolean
isBeforeFirst
()
boolean
isBeforeFirst
()
boolean
isClosed
()
boolean
isClosed
()
boolean
isFirst
()
boolean
isFirst
()
boolean
isLast
()
boolean
isLast
()
boolean
isNull
(int columnIndex)
boolean
isNull
(int columnIndex)
boolean
move
(int offset)
boolean
move
(int offset)
boolean
moveToFirst
()
boolean
moveToFirst
()
boolean
moveToLast
()
boolean
moveToLast
()
boolean
moveToNext
()
boolean
moveToNext
()
boolean
moveToPosition
(int position)
boolean
moveToPosition
(int position)
boolean
moveToPrevious
()
boolean
moveToPrevious
()
boolean
onMove
(int oldPosition, int newPosition)
The cursor moved to a new position.
boolean
onMove
(int oldPosition, int newPosition)
The cursor moved to a new position.
Parameters:
oldPosition - the previous position
newPosition - the new position
Returns:
TODO
void
registerContentObserver
(ContentObserver observer)
void
registerContentObserver
(ContentObserver observer)
void
registerDataSetObserver
(DataSetObserver observer)
void
registerDataSetObserver
(DataSetObserver observer)
boolean
requery
()
boolean
requery
()
Bundle
respond
(Bundle extras)
Bundle
respond
(Bundle extras)
void
setNotificationUri
(ContentResolver cr, Uri uri)
void
setNotificationUri
(ContentResolver cr, Uri uri)
void
setSelectionArguments
(String[] selectionArgs)
Set the parameter values.
void
setSelectionArguments
(String[] selectionArgs)
Set the parameter values.
Parameters:
selectionArgs - the parameter values
void
setWindow
(CursorWindow window)
TODO
void
setWindow
(CursorWindow window)
TODO
Parameters:
window - the window
void
unregisterContentObserver
(ContentObserver observer)
void
unregisterContentObserver
(ContentObserver observer)
void
unregisterDataSetObserver
(DataSetObserver observer)
void
unregisterDataSetObserver
(DataSetObserver observer)