public class RsetDataReader extends Object implements DataReader
| Modifier and Type | Field and Description |
|---|---|
protected int |
pos |
| Constructor and Description |
|---|
RsetDataReader(ResultSet rset) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Array |
getArray() |
InputStream |
getAsciiStream() |
BigDecimal |
getBigDecimal() |
byte[] |
getBinaryBytes() |
protected byte[] |
getBinaryLob(InputStream in) |
InputStream |
getBinaryStream() |
byte[] |
getBlobBytes() |
Boolean |
getBoolean() |
Byte |
getByte() |
byte[] |
getBytes() |
Date |
getDate() |
Double |
getDouble() |
Float |
getFloat() |
Integer |
getInt() |
Long |
getLong() |
Object |
getObject() |
Ref |
getRef() |
Short |
getShort() |
String |
getString() |
String |
getStringClob() |
String |
getStringFromStream() |
Time |
getTime() |
Timestamp |
getTimestamp() |
void |
incrementPos(int increment) |
boolean |
next() |
protected int |
pos() |
protected String |
readStringLob(Reader reader) |
void |
resetColumnPosition() |
public RsetDataReader(ResultSet rset)
public void close()
throws SQLException
close in interface DataReaderSQLExceptionpublic boolean next()
throws SQLException
next in interface DataReaderSQLExceptionpublic void resetColumnPosition()
resetColumnPosition in interface DataReaderpublic void incrementPos(int increment)
incrementPos in interface DataReaderprotected int pos()
public Array getArray() throws SQLException
getArray in interface DataReaderSQLExceptionpublic InputStream getAsciiStream() throws SQLException
SQLExceptionpublic Object getObject() throws SQLException
getObject in interface DataReaderSQLExceptionpublic BigDecimal getBigDecimal() throws SQLException
getBigDecimal in interface DataReaderSQLExceptionpublic InputStream getBinaryStream() throws SQLException
SQLExceptionpublic Boolean getBoolean() throws SQLException
getBoolean in interface DataReaderSQLExceptionpublic Byte getByte() throws SQLException
getByte in interface DataReaderSQLExceptionpublic byte[] getBytes()
throws SQLException
getBytes in interface DataReaderSQLExceptionpublic Date getDate() throws SQLException
getDate in interface DataReaderSQLExceptionpublic Double getDouble() throws SQLException
getDouble in interface DataReaderSQLExceptionpublic Float getFloat() throws SQLException
getFloat in interface DataReaderSQLExceptionpublic Integer getInt() throws SQLException
getInt in interface DataReaderSQLExceptionpublic Long getLong() throws SQLException
getLong in interface DataReaderSQLExceptionpublic Ref getRef() throws SQLException
SQLExceptionpublic Short getShort() throws SQLException
getShort in interface DataReaderSQLExceptionpublic String getString() throws SQLException
getString in interface DataReaderSQLExceptionpublic Time getTime() throws SQLException
getTime in interface DataReaderSQLExceptionpublic Timestamp getTimestamp() throws SQLException
getTimestamp in interface DataReaderSQLExceptionpublic String getStringFromStream() throws SQLException
getStringFromStream in interface DataReaderSQLExceptionpublic String getStringClob() throws SQLException
getStringClob in interface DataReaderSQLExceptionprotected String readStringLob(Reader reader) throws SQLException
SQLExceptionpublic byte[] getBinaryBytes()
throws SQLException
getBinaryBytes in interface DataReaderSQLExceptionpublic byte[] getBlobBytes()
throws SQLException
getBlobBytes in interface DataReaderSQLExceptionprotected byte[] getBinaryLob(InputStream in) throws SQLException
SQLExceptionCopyright © 2014. All Rights Reserved.