public class SmartResultSet
extends Object
| Constructor and Description |
|---|
SmartResultSet(ResultSet resultSet) |
| Modifier and Type | Method and Description |
|---|---|
int |
findColumn(String columnName) |
boolean |
first() |
Date |
getDate(int columnIndex) |
Date |
getDate(String columnName) |
double |
getDouble(int columnIndex) |
double |
getDouble(String columnName) |
float |
getFloat(int columnIndex) |
float |
getFloat(String columnName) |
int |
getInt(int columnIndex) |
int |
getInt(String columnName) |
long |
getLong(int columnIndex) |
long |
getLong(String columnName) |
short |
getShort(int columnIndex) |
short |
getShort(String columnName) |
String |
getString(int columnIndex) |
String |
getString(String columnName) |
Timestamp |
getTimestamp(int columnIndex) |
Timestamp |
getTimestamp(String columnName) |
boolean |
last() |
boolean |
next() |
boolean |
previous() |
public SmartResultSet(ResultSet resultSet)
throws SQLException
SQLExceptionpublic int findColumn(String columnName)
throws SQLException
SQLExceptionpublic boolean first()
throws SQLException
SQLExceptionpublic Date getDate(int columnIndex)
throws SQLException
SQLExceptionpublic Date getDate(String columnName)
throws SQLException
SQLExceptionpublic double getDouble(int columnIndex)
throws SQLException
SQLExceptionpublic double getDouble(String columnName)
throws SQLException
SQLExceptionpublic float getFloat(int columnIndex)
throws SQLException
SQLExceptionpublic float getFloat(String columnName)
throws SQLException
SQLExceptionpublic int getInt(int columnIndex)
throws SQLException
SQLExceptionpublic int getInt(String columnName)
throws SQLException
SQLExceptionpublic long getLong(int columnIndex)
throws SQLException
SQLExceptionpublic long getLong(String columnName)
throws SQLException
SQLExceptionpublic short getShort(int columnIndex)
throws SQLException
SQLExceptionpublic short getShort(String columnName)
throws SQLException
SQLExceptionpublic String getString(int columnIndex)
throws SQLException
SQLExceptionpublic String getString(String columnName)
throws SQLException
SQLExceptionpublic Timestamp getTimestamp(int columnIndex)
throws SQLException
SQLExceptionpublic Timestamp getTimestamp(String columnName)
throws SQLException
SQLExceptionpublic boolean last()
throws SQLException
SQLExceptionpublic boolean next()
throws SQLException
SQLExceptionpublic boolean previous()
throws SQLException
SQLException