public interface SqlResult
SqlQuery
.Modifier and Type | Method and Description |
---|---|
float |
getFloat(int index)
Get the value of the specified column as a float.
|
int |
getInt(int index)
Get the value of the specified column as an integer.
|
Object |
getObject(int index)
Get the value of the specified column as an object.
|
short |
getShort(int index)
Get the value of the specified column as a short.
|
String |
getString(int index)
Get the value of the specified column as a string.
|
short getShort(int index) throws SQLException
index
- The index of the column, starting at 1SQLException
- If an error occursint getInt(int index) throws SQLException
index
- The index of the column, starting at 1SQLException
- If an error occursfloat getFloat(int index) throws SQLException
index
- The index of the column, starting at 1SQLException
- If an error occursString getString(int index) throws SQLException
index
- The index of the column, starting at 1SQLException
- If an error occursObject getObject(int index) throws SQLException
index
- The index of the column, starting at 1SQLException
- If an error occurs