public interface ResultGetter
| Modifier and Type | Method and Description |
|---|---|
Array |
getArray()
Gets an array from the underlying result set
|
BigDecimal |
getBigDecimal()
Gets a BigDecimal from the underlying result set
|
Blob |
getBlob()
Gets a Blob from the underlying result set
|
boolean |
getBoolean()
Gets a boolean from the underlying result set
|
byte |
getByte()
Gets a byte from the underlying result set
|
byte[] |
getBytes()
Gets a byte[] from the underlying result set
|
Clob |
getClob()
Gets a Clob from the underlying result set
|
int |
getColumnIndex()
Returns the index of the column being got in the underlying ResultSet.
|
String |
getColumnName()
Returns the name of the column being got in the underlying ResultSet.
|
Date |
getDate()
Gets a Date from the underlying result set
|
Date |
getDate(Calendar cal)
Gets a Date from the underlying result set using a calendar
|
double |
getDouble()
Gets a double from the underlying result set
|
float |
getFloat()
Gets a float from the underlying result set
|
int |
getInt()
Gets an int from the underlying result set
|
long |
getLong()
Gets a long from the underlying result set
|
Object |
getObject()
Gets an Object from the underlying result set
|
Object |
getObject(Map<String,Class<?>> map)
Gets an Object from the underlying result set using a Map
|
Ref |
getRef()
Gets a Ref from the underlying result set
|
ResultSet |
getResultSet()
Returns the underlying ResultSet...be careful!
|
short |
getShort()
Gets a short from the underlying result set
|
String |
getString()
Gets a String from the underlying result set
|
Time |
getTime()
Gets a Time from the underlying result set
|
Time |
getTime(Calendar cal)
Gets a Time from the underlying result set using a Calendar
|
Timestamp |
getTimestamp()
Gets a Timestamp from the underlying result set
|
Timestamp |
getTimestamp(Calendar cal)
Gets a Timestamp from the underlying result set
|
URL |
getURL()
Gets a URL from the underlying result set
|
boolean |
wasNull()
Tells if the field was null
|
Array getArray() throws SQLException
SQLException - - if the underlying result set throws an exceptionBigDecimal getBigDecimal() throws SQLException
SQLException - - if the underlying result set throws an exceptionBlob getBlob() throws SQLException
SQLException - - if the underlying result set throws an exceptionboolean getBoolean()
throws SQLException
SQLException - - if the underlying result set throws an exceptionbyte getByte()
throws SQLException
SQLException - - if the underlying result set throws an exceptionbyte[] getBytes()
throws SQLException
SQLException - - if the underlying result set throws an exceptionClob getClob() throws SQLException
SQLException - - if the underlying result set throws an exceptionDate getDate() throws SQLException
SQLException - - if the underlying result set throws an exceptionDate getDate(Calendar cal) throws SQLException
cal - - the CalendarSQLException - - if the underlying result set throws an exceptiondouble getDouble()
throws SQLException
SQLException - - if the underlying result set throws an exceptionfloat getFloat()
throws SQLException
SQLException - - if the underlying result set throws an exceptionint getInt()
throws SQLException
SQLException - - if the underlying result set throws an exceptionlong getLong()
throws SQLException
SQLException - - if the underlying result set throws an exceptionObject getObject() throws SQLException
SQLException - - if the underlying result set throws an exceptionObject getObject(Map<String,Class<?>> map) throws SQLException
map - - the MapSQLException - - if the underlying result set throws an exceptionRef getRef() throws SQLException
SQLException - - if the underlying result set throws an exceptionshort getShort()
throws SQLException
SQLException - - if the underlying result set throws an exceptionString getString() throws SQLException
SQLException - - if the underlying result set throws an exceptionTime getTime() throws SQLException
SQLException - - if the underlying result set throws an exceptionTime getTime(Calendar cal) throws SQLException
cal - - the CalendarSQLException - - if the underlying result set throws an exceptionTimestamp getTimestamp() throws SQLException
SQLException - - if the underlying result set throws an exceptionTimestamp getTimestamp(Calendar cal) throws SQLException
cal - - the CalendarSQLException - - if the underlying result set throws an exceptionURL getURL() throws SQLException
SQLException - - if the underlying result set throws an exceptionboolean wasNull()
throws SQLException
SQLException - - if the underlying result set throws an exceptionResultSet getResultSet()
String getColumnName()
null in which case the
getColumnIndex method should be used.int getColumnIndex()
getColumnName is null.Copyright © 2084–2018 dukeware.com. All rights reserved.