|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.j256.ormlite.jdbc.JdbcResults
public class JdbcResults
Wrapper around a ResultSet object which we delegate to.
| Constructor Summary | |
|---|---|
JdbcResults(ResultSet resultSet)
|
|
| Method Summary | |
|---|---|
int |
findColumn(String columnName)
Return the column index associated with the column name. |
Blob |
getBlob(int columnIndex)
Returns the blob value from the results at the column index. |
boolean |
getBoolean(int columnIndex)
Returns the boolean value from the results at the column index. |
byte |
getByte(int columnIndex)
Returns the byte value from the results at the column index. |
byte[] |
getBytes(int columnIndex)
Returns the byte array value from the results at the column index. |
double |
getDouble(int columnIndex)
Returns the double value from the results at the column index. |
float |
getFloat(int columnIndex)
Returns the float value from the results at the column index. |
int |
getInt(int columnIndex)
Returns the integer value from the results at the column index. |
long |
getLong(int columnIndex)
Returns the long value from the results at the column index. |
short |
getShort(int columnIndex)
Returns the short value from the results at the column index. |
String |
getString(int columnIndex)
Returns the string from the results at the column index. |
Timestamp |
getTimestamp(int columnIndex)
Returns the SQL timestamp value from the results at the column index. |
boolean |
isNull(int columnIndex)
Returns true if the object in column index is null. |
boolean |
next()
Moves to the next result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JdbcResults(ResultSet resultSet)
| Method Detail |
|---|
public int findColumn(String columnName)
throws SQLException
Results
findColumn in interface ResultsSQLException
public Blob getBlob(int columnIndex)
throws SQLException
Results
getBlob in interface ResultsSQLException
public boolean getBoolean(int columnIndex)
throws SQLException
Results
getBoolean in interface ResultsSQLException
public byte getByte(int columnIndex)
throws SQLException
Results
getByte in interface ResultsSQLException
public byte[] getBytes(int columnIndex)
throws SQLException
Results
getBytes in interface ResultsSQLException
public double getDouble(int columnIndex)
throws SQLException
Results
getDouble in interface ResultsSQLException
public float getFloat(int columnIndex)
throws SQLException
Results
getFloat in interface ResultsSQLException
public int getInt(int columnIndex)
throws SQLException
Results
getInt in interface ResultsSQLException
public long getLong(int columnIndex)
throws SQLException
Results
getLong in interface ResultsSQLException
public short getShort(int columnIndex)
throws SQLException
Results
getShort in interface ResultsSQLException
public String getString(int columnIndex)
throws SQLException
Results
getString in interface ResultsSQLException
public Timestamp getTimestamp(int columnIndex)
throws SQLException
Results
getTimestamp in interface ResultsSQLException
public boolean next()
throws SQLException
Results
next in interface ResultsSQLException
public boolean isNull(int columnIndex)
throws SQLException
Results
isNull in interface ResultsSQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||