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.
|
java.lang.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.
|
java.lang.String |
getString(int index)
Get the value of the specified column as a string.
|
short getShort(int index) throws java.sql.SQLException
index
- The index of the column, starting at 1java.sql.SQLException
- If an error occursint getInt(int index) throws java.sql.SQLException
index
- The index of the column, starting at 1java.sql.SQLException
- If an error occursfloat getFloat(int index) throws java.sql.SQLException
index
- The index of the column, starting at 1java.sql.SQLException
- If an error occursjava.lang.String getString(int index) throws java.sql.SQLException
index
- The index of the column, starting at 1java.sql.SQLException
- If an error occursjava.lang.Object getObject(int index) throws java.sql.SQLException
index
- The index of the column, starting at 1java.sql.SQLException
- If an error occurs