|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a single row of a query result set.
QueryResults
Field Summary | |
static String |
COPYRIGHT
|
static String |
LICENSE
|
static String |
REVISION
|
Method Summary | |
BigDecimal |
getBigDecimal(String columnName)
Returns the value of a particular column from this query result as a BigDecimal. |
Boolean |
getBoolean(String columnName)
Returns the value of a particular column from this query result as a Boolean. |
Date |
getDate(String columnName)
Returns the value of a particular column from this query result as a Date. |
int |
getInt(String columnName)
Returns the value of a particular column from this query result as an int. |
Integer |
getInteger(String columnName)
Returns the value of a particular column from this query result as a Integer. |
Long |
getLong(String columnName)
Returns the value of a particular column from this query result as a Long. |
Object |
getObject(String columnName)
Returns the value of a particular column from this query result. |
String |
getString(String columnName)
Returns the value of a particular column from this query result as a String. |
Timestamp |
getTimestamp(String columnName)
Returns the value of a particular column from this query result as a Timestamp. |
Field Detail |
public static final String COPYRIGHT
public static final String LICENSE
public static final String REVISION
Method Detail |
public Object getObject(String columnName)
columnName
- the name of the column from which to retrieve the
value
NullPointerException
- if (columnName) is nullpublic String getString(String columnName)
columnName
- the name of the column from which to retrieve the
value
NullPointerException
- if (columnName) is nullpublic Boolean getBoolean(String columnName)
columnName
- the name of the column from which to retrieve the
value
NullPointerException
- if (columnName) is nullpublic Integer getInteger(String columnName)
columnName
- the name of the column from which to retrieve the
value
NullPointerException
- if (columnName) is nullpublic Long getLong(String columnName)
columnName
- the name of the column from which to retrieve the
value
NullPointerException
- if (columnName) is nullpublic int getInt(String columnName)
columnName
- the name of the column from which to retrieve the
value
NullPointerException
- if (columnName) is null
IllegalStateException
- if the value in the specified column is
nullpublic BigDecimal getBigDecimal(String columnName)
columnName
- the name of the column from which to retrieve the
value
NullPointerException
- if (columnName) is nullpublic Date getDate(String columnName)
columnName
- the name of the column from which to retrieve the
value
NullPointerException
- if (columnName) is nullpublic Timestamp getTimestamp(String columnName)
columnName
- the name of the column from which to retrieve the
value
NullPointerException
- if (columnName) is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |