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