public interface Row
The Row
interface is returned by Cursor.getRow()
to provide
access to the content of an individual row.
There is more thorough coverage of the Database API here
.
The sample code below presents a Database Explorer tool that allows executing arbitrary SQL and
viewing the tabular results:
Modifier and Type | Method and Description |
---|---|
byte[] |
getBlob(int index)
Gets column value by index.
|
double |
getDouble(int index)
Gets column value by index.
|
float |
getFloat(int index)
Gets column value by index.
|
int |
getInteger(int index)
Gets column value by index.
|
long |
getLong(int index)
Gets column value by index.
|
short |
getShort(int index)
Gets column value by index.
|
String |
getString(int index)
Gets column value by index.
|
byte[] getBlob(int index) throws IOException
index
- starts with zeroIOException
double getDouble(int index) throws IOException
index
- starts with zeroIOException
float getFloat(int index) throws IOException
index
- starts with zeroIOException
int getInteger(int index) throws IOException
index
- starts with zeroIOException
long getLong(int index) throws IOException
index
- starts with zeroIOException
short getShort(int index) throws IOException
index
- starts with zeroIOException
String getString(int index) throws IOException
index
- starts with zeroIOException