|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Adapter for Resultset management
| Method Summary | |
java.lang.Object |
getArray(java.sql.ResultSet rs,
int idx,
java.lang.Object nullValue,
int typeCode)
Get an array value from a ResultSet. |
java.math.BigDecimal |
getBigDecimal(java.sql.ResultSet rs,
int idx,
java.math.BigDecimal nullValue)
Get a BigDecimal value from a ResultSet. |
java.math.BigInteger |
getBigInteger(java.sql.ResultSet rs,
int idx,
java.math.BigInteger nullValue)
Get a BigInteger value from a ResultSet. |
boolean |
getBoolean(java.sql.ResultSet rs,
int idx,
boolean nullValue)
Get a boolean value from a ResultSet. |
byte |
getByte(java.sql.ResultSet rs,
int idx,
byte nullValue)
Get a byte value from a ResultSet. |
byte[] |
getByteArray(java.sql.ResultSet rs,
int idx,
byte[] nullValue)
Get a byte[] value from a ResultSet. |
char |
getChar(java.sql.ResultSet rs,
int idx,
char nullValue)
Get a char value from a ResultSet. |
char[] |
getCharArray(java.sql.ResultSet rs,
int idx,
char[] nullValue)
Get a char[] value from a ResultSet. |
java.util.Date |
getDate(java.sql.ResultSet rs,
int idx,
java.util.Date nullValue)
Get a Date value from a ResultSet. |
java.util.Date |
getDate(java.sql.ResultSet rs,
int idx,
java.lang.String sqlColumnType,
java.util.Date nullValue)
Get a Date value from a ResultSet. |
double |
getDouble(java.sql.ResultSet rs,
int idx,
double nullValue)
Get a double value from a ResultSet. |
float |
getFloat(java.sql.ResultSet rs,
int idx,
float nullValue)
Get a float value from a ResultSet. |
int |
getInt(java.sql.ResultSet rs,
int idx,
int nullValue)
Get a int value from a ResultSet. |
long |
getLong(java.sql.ResultSet rs,
int idx,
long nullValue)
Get a long value from a ResultSet. |
java.lang.Boolean |
getOboolean(java.sql.ResultSet rs,
int idx,
java.lang.Boolean nullValue)
Get a Boolean value from a ResultSet. |
java.lang.Byte |
getObyte(java.sql.ResultSet rs,
int idx,
java.lang.Byte nullValue)
Get a Byte value from a ResultSet. |
java.lang.Character |
getOchar(java.sql.ResultSet rs,
int idx,
java.lang.Character nullValue)
Get a Character value from a ResultSet. |
java.lang.Double |
getOdouble(java.sql.ResultSet rs,
int idx,
java.lang.Double nullValue)
Get a Double value from a ResultSet. |
java.lang.Float |
getOfloat(java.sql.ResultSet rs,
int idx,
java.lang.Float nullValue)
Get a Float value from a ResultSet. |
java.lang.Integer |
getOint(java.sql.ResultSet rs,
int idx,
java.lang.Integer nullValue)
Get a Integer value from a ResultSet. |
java.lang.Long |
getOlong(java.sql.ResultSet rs,
int idx,
java.lang.Long nullValue)
Get a Long value from a ResultSet. |
java.lang.Short |
getOshort(java.sql.ResultSet rs,
int idx,
java.lang.Short nullValue)
Get a Short value from a ResultSet. |
java.io.Serializable |
getSerialized(java.sql.ResultSet rs,
int idx,
java.io.Serializable nullValue)
Get a Serializable value from a ResultSet. |
short |
getShort(java.sql.ResultSet rs,
int idx,
short nullValue)
Get a short value from a ResultSet. |
java.lang.String |
getString(java.sql.ResultSet rs,
int idx,
java.lang.String nullValue)
Get a String value from a ResultSet. |
| Method Detail |
public boolean getBoolean(java.sql.ResultSet rs,
int idx,
boolean nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public java.lang.Boolean getOboolean(java.sql.ResultSet rs,
int idx,
java.lang.Boolean nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public char getChar(java.sql.ResultSet rs,
int idx,
char nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public java.lang.Character getOchar(java.sql.ResultSet rs,
int idx,
java.lang.Character nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public byte getByte(java.sql.ResultSet rs,
int idx,
byte nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public java.lang.Byte getObyte(java.sql.ResultSet rs,
int idx,
java.lang.Byte nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public short getShort(java.sql.ResultSet rs,
int idx,
short nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public java.lang.Short getOshort(java.sql.ResultSet rs,
int idx,
java.lang.Short nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public int getInt(java.sql.ResultSet rs,
int idx,
int nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public java.lang.Integer getOint(java.sql.ResultSet rs,
int idx,
java.lang.Integer nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public long getLong(java.sql.ResultSet rs,
int idx,
long nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public java.lang.Long getOlong(java.sql.ResultSet rs,
int idx,
java.lang.Long nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public float getFloat(java.sql.ResultSet rs,
int idx,
float nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public java.lang.Float getOfloat(java.sql.ResultSet rs,
int idx,
java.lang.Float nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public double getDouble(java.sql.ResultSet rs,
int idx,
double nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public java.lang.Double getOdouble(java.sql.ResultSet rs,
int idx,
java.lang.Double nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public java.lang.String getString(java.sql.ResultSet rs,
int idx,
java.lang.String nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public java.util.Date getDate(java.sql.ResultSet rs,
int idx,
java.util.Date nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public java.util.Date getDate(java.sql.ResultSet rs,
int idx,
java.lang.String sqlColumnType,
java.util.Date nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public java.math.BigDecimal getBigDecimal(java.sql.ResultSet rs,
int idx,
java.math.BigDecimal nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public java.math.BigInteger getBigInteger(java.sql.ResultSet rs,
int idx,
java.math.BigInteger nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public char[] getCharArray(java.sql.ResultSet rs,
int idx,
char[] nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public byte[] getByteArray(java.sql.ResultSet rs,
int idx,
byte[] nullValue)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
public java.io.Serializable getSerialized(java.sql.ResultSet rs,
int idx,
java.io.Serializable nullValue)
throws java.sql.SQLException,
java.io.IOException,
java.lang.ClassNotFoundException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is null
in the resultset
java.sql.SQLException
java.io.IOException
java.lang.ClassNotFoundException
public java.lang.Object getArray(java.sql.ResultSet rs,
int idx,
java.lang.Object nullValue,
int typeCode)
throws java.sql.SQLException
rs - is the result where to get the valueidx - is the index of the value in the resultsetnullValue - represents the nullvalue to return if the column is nulltypeCode - is the type code of the expected array
ex: = (TypeAdapter.ARRAY + TypeAdapter.STRING)
in the resultset
java.sql.SQLException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||