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.SQLException
public int findColumn(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLException
public boolean first() throws java.sql.SQLException
java.sql.SQLException
public java.sql.Date getDate(int columnIndex) throws java.sql.SQLException
java.sql.SQLException
public java.sql.Date getDate(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLException
public double getDouble(int columnIndex) throws java.sql.SQLException
java.sql.SQLException
public double getDouble(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLException
public float getFloat(int columnIndex) throws java.sql.SQLException
java.sql.SQLException
public float getFloat(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLException
public int getInt(int columnIndex) throws java.sql.SQLException
java.sql.SQLException
public int getInt(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLException
public long getLong(int columnIndex) throws java.sql.SQLException
java.sql.SQLException
public long getLong(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLException
public short getShort(int columnIndex) throws java.sql.SQLException
java.sql.SQLException
public short getShort(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getString(int columnIndex) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getString(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLException
public java.sql.Timestamp getTimestamp(int columnIndex) throws java.sql.SQLException
java.sql.SQLException
public java.sql.Timestamp getTimestamp(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLException
public boolean last() throws java.sql.SQLException
java.sql.SQLException
public boolean next() throws java.sql.SQLException
java.sql.SQLException
public boolean previous() throws java.sql.SQLException
java.sql.SQLException