private class DynamicResultIterator.SqlResultImpl extends Object implements SqlResult
Modifier | Constructor and Description |
---|---|
private |
DynamicResultIterator.SqlResultImpl() |
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.
|
private DynamicResultIterator.SqlResultImpl()
public short getShort(int index) throws SQLException
SqlResult
getShort
in interface SqlResult
index
- The index of the column, starting at 1SQLException
- If an error occurspublic int getInt(int index) throws SQLException
SqlResult
getInt
in interface SqlResult
index
- The index of the column, starting at 1SQLException
- If an error occurspublic float getFloat(int index) throws SQLException
SqlResult
getFloat
in interface SqlResult
index
- The index of the column, starting at 1SQLException
- If an error occurspublic String getString(int index) throws SQLException
SqlResult
getString
in interface SqlResult
index
- The index of the column, starting at 1SQLException
- If an error occurspublic Object getObject(int index) throws SQLException
SqlResult
getObject
in interface SqlResult
index
- The index of the column, starting at 1SQLException
- If an error occurs