Package de.elo.ix.jscript.handler
Interface IDBConnectionHandler.ResultSetWrapper
- Enclosing interface:
- IDBConnectionHandler
public static interface IDBConnectionHandler.ResultSetWrapper
Wrapper class for the JDBC ResultSet.
This class provides ony the functions of the ResultSet class that
return serializable data types.
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
getBoolean(int col)
Return the value as a Java Boolean object.java.lang.Byte
getByte(int col)
Return the value as a Java Byte object.byte[]
getBytes(int col)
Return the value as a Java byte[] object.java.lang.Double
getDouble(int col)
Return the value as a Java Double object.java.lang.Integer
getInt(int col)
Return the value as a Java Integer object.java.lang.Integer
getInteger(int col)
Return the value as a Java Integer object.java.lang.Long
getLong(int col)
Return the value as a Java Long object.java.lang.Short
getShort(int col)
Return the value as a Java Short object.java.lang.String
getString(int col)
Return the value as a Java String object.
-
Method Details
-
getBoolean
java.lang.Boolean getBoolean(int col) throws java.lang.ExceptionReturn the value as a Java Boolean object.- Parameters:
col
- ResultSet column- Returns:
- Column value
- Throws:
java.lang.Exception
-
getByte
java.lang.Byte getByte(int col) throws java.lang.ExceptionReturn the value as a Java Byte object.- Parameters:
col
- ResultSet column- Returns:
- Column value
- Throws:
java.lang.Exception
-
getShort
java.lang.Short getShort(int col) throws java.lang.ExceptionReturn the value as a Java Short object.- Parameters:
col
- ResultSet column- Returns:
- Column value
- Throws:
java.lang.Exception
-
getInteger
java.lang.Integer getInteger(int col) throws java.lang.ExceptionReturn the value as a Java Integer object.- Parameters:
col
- ResultSet column- Returns:
- Column value
- Throws:
java.lang.Exception
-
getInt
java.lang.Integer getInt(int col) throws java.lang.ExceptionReturn the value as a Java Integer object.- Parameters:
col
- ResultSet column- Returns:
- Column value
- Throws:
java.lang.Exception
-
getLong
java.lang.Long getLong(int col) throws java.lang.ExceptionReturn the value as a Java Long object.- Parameters:
col
- ResultSet column- Returns:
- Column value
- Throws:
java.lang.Exception
-
getDouble
java.lang.Double getDouble(int col) throws java.lang.ExceptionReturn the value as a Java Double object.- Parameters:
col
- ResultSet column- Returns:
- Column value
- Throws:
java.lang.Exception
-
getString
java.lang.String getString(int col) throws java.lang.ExceptionReturn the value as a Java String object.- Parameters:
col
- ResultSet column- Returns:
- Column value
- Throws:
java.lang.Exception
-
getBytes
byte[] getBytes(int col) throws java.lang.ExceptionReturn the value as a Java byte[] object.- Parameters:
col
- ResultSet column- Returns:
- Column value
- Throws:
java.lang.Exception
-