-
public interface ICursorThe data cursor that is provided on the IDatabase.query lambda. It provides access to the data retrieved by the query.
-
-
Method Summary
Modifier and Type Method Description abstract BooleanmoveToFirst()Move the cursor to the first record in the result set. abstract BooleanmoveToNext()Move the cursor to the next record in the result set. abstract StringgetString(String column)Retrieve the value of the provided column from the current record. abstract FloatgetFloat(String column)Retrieve the value of the provided column from the current record. abstract LonggetLong(String column)Retrieve the value of the provided column from the current record. abstract IntegergetInt(String column)Retrieve the value of the provided column from the current record. abstract StringgetOptString(String column)Retrieve the value of the provided column from the current record. abstract FloatgetOptFloat(String column)Retrieve the value of the provided column from the current record. abstract LonggetOptLong(String column)Retrieve the value of the provided column from the current record. abstract IntegergetOptInt(String column)Retrieve the value of the provided column from the current record. abstract IntegergetCount()The number of records this cursor can traverse. -
-
Method Detail
-
moveToFirst
abstract Boolean moveToFirst()
Move the cursor to the first record in the result set.
-
moveToNext
abstract Boolean moveToNext()
Move the cursor to the next record in the result set.
-
getString
abstract String getString(String column)
Retrieve the value of the provided column from the current record.
- Parameters:
column- The name of the column to retrieve.
-
getFloat
abstract Float getFloat(String column)
Retrieve the value of the provided column from the current record.
- Parameters:
column- The name of the column to retrieve.
-
getLong
abstract Long getLong(String column)
Retrieve the value of the provided column from the current record.
- Parameters:
column- The name of the column to retrieve.
-
getInt
abstract Integer getInt(String column)
Retrieve the value of the provided column from the current record.
- Parameters:
column- The name of the column to retrieve.
-
getOptString
abstract String getOptString(String column)
Retrieve the value of the provided column from the current record.
- Parameters:
column- The name of the column to retrieve.
-
getOptFloat
abstract Float getOptFloat(String column)
Retrieve the value of the provided column from the current record.
- Parameters:
column- The name of the column to retrieve.
-
getOptLong
abstract Long getOptLong(String column)
Retrieve the value of the provided column from the current record.
- Parameters:
column- The name of the column to retrieve.
-
getOptInt
abstract Integer getOptInt(String column)
Retrieve the value of the provided column from the current record.
- Parameters:
column- The name of the column to retrieve.
-
-
-
-