public class DelegatingResultSet extends Object implements ResultSet, Closeable
equals and
hashCode methods pass through to the base underlying data
store statement.CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE| Constructor and Description |
|---|
DelegatingResultSet(ResultSet rs,
Statement stmnt) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitupdateObject, updateObject, updateObject, updateObjectpublic ResultSet getDelegate()
public ResultSet getInnermostDelegate()
protected void appendInfo(StringBuffer buf)
public boolean next()
throws SQLException
next in interface ResultSetSQLExceptionpublic void close()
throws SQLException
close in interface AutoCloseableclose in interface ResultSetclose in interface CloseableSQLExceptionpublic boolean wasNull()
throws SQLException
wasNull in interface ResultSetSQLExceptionpublic String getString(int a) throws SQLException
getString in interface ResultSetSQLExceptionpublic boolean getBoolean(int a)
throws SQLException
getBoolean in interface ResultSetSQLExceptionpublic byte getByte(int a)
throws SQLException
getByte in interface ResultSetSQLExceptionpublic short getShort(int a)
throws SQLException
getShort in interface ResultSetSQLExceptionpublic int getInt(int a)
throws SQLException
getInt in interface ResultSetSQLExceptionpublic long getLong(int a)
throws SQLException
getLong in interface ResultSetSQLExceptionpublic float getFloat(int a)
throws SQLException
getFloat in interface ResultSetSQLExceptionpublic double getDouble(int a)
throws SQLException
getDouble in interface ResultSetSQLException@Deprecated public BigDecimal getBigDecimal(int a, int b) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic byte[] getBytes(int a)
throws SQLException
getBytes in interface ResultSetSQLExceptionpublic Date getDate(int a) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Time getTime(int a) throws SQLException
getTime in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(int a) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic InputStream getAsciiStream(int a) throws SQLException
getAsciiStream in interface ResultSetSQLException@Deprecated public InputStream getUnicodeStream(int a) throws SQLException
getUnicodeStream in interface ResultSetSQLExceptionpublic InputStream getBinaryStream(int a) throws SQLException
getBinaryStream in interface ResultSetSQLExceptionpublic String getString(String a) throws SQLException
getString in interface ResultSetSQLExceptionpublic boolean getBoolean(String a) throws SQLException
getBoolean in interface ResultSetSQLExceptionpublic byte getByte(String a) throws SQLException
getByte in interface ResultSetSQLExceptionpublic short getShort(String a) throws SQLException
getShort in interface ResultSetSQLExceptionpublic int getInt(String a) throws SQLException
getInt in interface ResultSetSQLExceptionpublic long getLong(String a) throws SQLException
getLong in interface ResultSetSQLExceptionpublic float getFloat(String a) throws SQLException
getFloat in interface ResultSetSQLExceptionpublic double getDouble(String a) throws SQLException
getDouble in interface ResultSetSQLException@Deprecated public BigDecimal getBigDecimal(String a, int b) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic byte[] getBytes(String a) throws SQLException
getBytes in interface ResultSetSQLExceptionpublic Date getDate(String a) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Time getTime(String a) throws SQLException
getTime in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(String a) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic InputStream getAsciiStream(String a) throws SQLException
getAsciiStream in interface ResultSetSQLException@Deprecated public InputStream getUnicodeStream(String a) throws SQLException
getUnicodeStream in interface ResultSetSQLExceptionpublic InputStream getBinaryStream(String a) throws SQLException
getBinaryStream in interface ResultSetSQLExceptionpublic SQLWarning getWarnings() throws SQLException
getWarnings in interface ResultSetSQLExceptionpublic void clearWarnings()
throws SQLException
clearWarnings in interface ResultSetSQLExceptionpublic String getCursorName() throws SQLException
getCursorName in interface ResultSetSQLExceptionpublic ResultSetMetaData getMetaData() throws SQLException
getMetaData in interface ResultSetSQLExceptionpublic Object getObject(int a) throws SQLException
getObject in interface ResultSetSQLExceptionpublic Object getObject(String a) throws SQLException
getObject in interface ResultSetSQLExceptionpublic int findColumn(String a) throws SQLException
findColumn in interface ResultSetSQLExceptionpublic Reader getCharacterStream(int a) throws SQLException
getCharacterStream in interface ResultSetSQLExceptionpublic Reader getCharacterStream(String a) throws SQLException
getCharacterStream in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(int a) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(String a) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic boolean isBeforeFirst()
throws SQLException
isBeforeFirst in interface ResultSetSQLExceptionpublic boolean isAfterLast()
throws SQLException
isAfterLast in interface ResultSetSQLExceptionpublic boolean isFirst()
throws SQLException
isFirst in interface ResultSetSQLExceptionpublic boolean isLast()
throws SQLException
isLast in interface ResultSetSQLExceptionpublic void beforeFirst()
throws SQLException
beforeFirst in interface ResultSetSQLExceptionpublic void afterLast()
throws SQLException
afterLast in interface ResultSetSQLExceptionpublic boolean first()
throws SQLException
first in interface ResultSetSQLExceptionpublic boolean last()
throws SQLException
last in interface ResultSetSQLExceptionpublic int getRow()
throws SQLException
getRow in interface ResultSetSQLExceptionpublic boolean absolute(int a)
throws SQLException
absolute in interface ResultSetSQLExceptionpublic boolean relative(int a)
throws SQLException
relative in interface ResultSetSQLExceptionpublic boolean previous()
throws SQLException
previous in interface ResultSetSQLExceptionpublic void setFetchDirection(int a)
throws SQLException
setFetchDirection in interface ResultSetSQLExceptionpublic int getFetchDirection()
throws SQLException
getFetchDirection in interface ResultSetSQLExceptionpublic void setFetchSize(int a)
throws SQLException
setFetchSize in interface ResultSetSQLExceptionpublic int getFetchSize()
throws SQLException
getFetchSize in interface ResultSetSQLExceptionpublic int getType()
throws SQLException
getType in interface ResultSetSQLExceptionpublic int getConcurrency()
throws SQLException
getConcurrency in interface ResultSetSQLExceptionpublic boolean rowUpdated()
throws SQLException
rowUpdated in interface ResultSetSQLExceptionpublic boolean rowInserted()
throws SQLException
rowInserted in interface ResultSetSQLExceptionpublic boolean rowDeleted()
throws SQLException
rowDeleted in interface ResultSetSQLExceptionpublic void updateNull(int a)
throws SQLException
updateNull in interface ResultSetSQLExceptionpublic void updateBoolean(int a,
boolean b)
throws SQLException
updateBoolean in interface ResultSetSQLExceptionpublic void updateByte(int a,
byte b)
throws SQLException
updateByte in interface ResultSetSQLExceptionpublic void updateShort(int a,
short b)
throws SQLException
updateShort in interface ResultSetSQLExceptionpublic void updateInt(int a,
int b)
throws SQLException
updateInt in interface ResultSetSQLExceptionpublic void updateLong(int a,
long b)
throws SQLException
updateLong in interface ResultSetSQLExceptionpublic void updateFloat(int a,
float b)
throws SQLException
updateFloat in interface ResultSetSQLExceptionpublic void updateDouble(int a,
double b)
throws SQLException
updateDouble in interface ResultSetSQLExceptionpublic void updateBigDecimal(int a,
BigDecimal b)
throws SQLException
updateBigDecimal in interface ResultSetSQLExceptionpublic void updateString(int a,
String b)
throws SQLException
updateString in interface ResultSetSQLExceptionpublic void updateBytes(int a,
byte[] b)
throws SQLException
updateBytes in interface ResultSetSQLExceptionpublic void updateDate(int a,
Date b)
throws SQLException
updateDate in interface ResultSetSQLExceptionpublic void updateTime(int a,
Time b)
throws SQLException
updateTime in interface ResultSetSQLExceptionpublic void updateTimestamp(int a,
Timestamp b)
throws SQLException
updateTimestamp in interface ResultSetSQLExceptionpublic void updateAsciiStream(int a,
InputStream in,
int b)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(int a,
InputStream in,
int b)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateBlob(int a,
Blob blob)
throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateCharacterStream(int a,
Reader reader,
int b)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateClob(int a,
Clob clob)
throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateObject(int a,
Object ob,
int b)
throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateObject(int a,
Object ob)
throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateNull(String a) throws SQLException
updateNull in interface ResultSetSQLExceptionpublic void updateBoolean(String a, boolean b) throws SQLException
updateBoolean in interface ResultSetSQLExceptionpublic void updateByte(String a, byte b) throws SQLException
updateByte in interface ResultSetSQLExceptionpublic void updateShort(String a, short b) throws SQLException
updateShort in interface ResultSetSQLExceptionpublic void updateInt(String a, int b) throws SQLException
updateInt in interface ResultSetSQLExceptionpublic void updateLong(String a, long b) throws SQLException
updateLong in interface ResultSetSQLExceptionpublic void updateFloat(String a, float b) throws SQLException
updateFloat in interface ResultSetSQLExceptionpublic void updateDouble(String a, double b) throws SQLException
updateDouble in interface ResultSetSQLExceptionpublic void updateBigDecimal(String a, BigDecimal b) throws SQLException
updateBigDecimal in interface ResultSetSQLExceptionpublic void updateString(String a, String b) throws SQLException
updateString in interface ResultSetSQLExceptionpublic void updateBytes(String a, byte[] b) throws SQLException
updateBytes in interface ResultSetSQLExceptionpublic void updateDate(String a, Date b) throws SQLException
updateDate in interface ResultSetSQLExceptionpublic void updateTime(String a, Time b) throws SQLException
updateTime in interface ResultSetSQLExceptionpublic void updateTimestamp(String a, Timestamp b) throws SQLException
updateTimestamp in interface ResultSetSQLExceptionpublic void updateAsciiStream(String a, InputStream in, int b) throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(String a, InputStream in, int b) throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(String a, Reader reader, int b) throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateObject(String a, Object ob, int b) throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateObject(String a, Object b) throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void insertRow()
throws SQLException
insertRow in interface ResultSetSQLExceptionpublic void updateRow()
throws SQLException
updateRow in interface ResultSetSQLExceptionpublic void deleteRow()
throws SQLException
deleteRow in interface ResultSetSQLExceptionpublic void refreshRow()
throws SQLException
refreshRow in interface ResultSetSQLExceptionpublic void cancelRowUpdates()
throws SQLException
cancelRowUpdates in interface ResultSetSQLExceptionpublic void moveToInsertRow()
throws SQLException
moveToInsertRow in interface ResultSetSQLExceptionpublic void moveToCurrentRow()
throws SQLException
moveToCurrentRow in interface ResultSetSQLExceptionpublic Statement getStatement() throws SQLException
getStatement in interface ResultSetSQLExceptionpublic Object getObject(int a, Map<String,Class<?>> b) throws SQLException
getObject in interface ResultSetSQLExceptionpublic Ref getRef(int a) throws SQLException
getRef in interface ResultSetSQLExceptionpublic Blob getBlob(int a) throws SQLException
getBlob in interface ResultSetSQLExceptionpublic Clob getClob(int a) throws SQLException
getClob in interface ResultSetSQLExceptionpublic Array getArray(int a) throws SQLException
getArray in interface ResultSetSQLExceptionpublic Object getObject(String a, Map<String,Class<?>> b) throws SQLException
getObject in interface ResultSetSQLExceptionpublic Ref getRef(String a) throws SQLException
getRef in interface ResultSetSQLExceptionpublic Blob getBlob(String a) throws SQLException
getBlob in interface ResultSetSQLExceptionpublic Clob getClob(String a) throws SQLException
getClob in interface ResultSetSQLExceptionpublic Array getArray(String a) throws SQLException
getArray in interface ResultSetSQLExceptionpublic Date getDate(int a, Calendar b) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Date getDate(String a, Calendar b) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Time getTime(int a, Calendar b) throws SQLException
getTime in interface ResultSetSQLExceptionpublic Time getTime(String a, Calendar b) throws SQLException
getTime in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(int a, Calendar b) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(String a, Calendar b) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic URL getURL(int column) throws SQLException
getURL in interface ResultSetSQLExceptionpublic URL getURL(String columnName) throws SQLException
getURL in interface ResultSetSQLExceptionpublic void updateRef(int column,
Ref ref)
throws SQLException
updateRef in interface ResultSetSQLExceptionpublic void updateRef(String columnName, Ref ref) throws SQLException
updateRef in interface ResultSetSQLExceptionpublic void updateBlob(String columnName, Blob blob) throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateClob(String columnName, Clob clob) throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateArray(int column,
Array array)
throws SQLException
updateArray in interface ResultSetSQLExceptionpublic void updateArray(String columnName, Array array) throws SQLException
updateArray in interface ResultSetSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor in interface WrapperSQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap in interface WrapperSQLExceptionpublic int getHoldability()
throws SQLException
getHoldability in interface ResultSetSQLExceptionpublic Reader getNCharacterStream(int columnIndex) throws SQLException
getNCharacterStream in interface ResultSetSQLExceptionpublic Reader getNCharacterStream(String columnLabel) throws SQLException
getNCharacterStream in interface ResultSetSQLExceptionpublic NClob getNClob(int columnIndex) throws SQLException
getNClob in interface ResultSetSQLExceptionpublic NClob getNClob(String columnLabel) throws SQLException
getNClob in interface ResultSetSQLExceptionpublic String getNString(int columnIndex) throws SQLException
getNString in interface ResultSetSQLExceptionpublic String getNString(String columnLabel) throws SQLException
getNString in interface ResultSetSQLExceptionpublic RowId getRowId(int columnIndex) throws SQLException
getRowId in interface ResultSetSQLExceptionpublic RowId getRowId(String columnLabel) throws SQLException
getRowId in interface ResultSetSQLExceptionpublic SQLXML getSQLXML(int columnIndex) throws SQLException
getSQLXML in interface ResultSetSQLExceptionpublic SQLXML getSQLXML(String columnLabel) throws SQLException
getSQLXML in interface ResultSetSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed in interface ResultSetSQLExceptionpublic void updateAsciiStream(int columnIndex,
InputStream x,
long length)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(int columnIndex,
InputStream x)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(String columnLabel, InputStream x) throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(int columnIndex,
InputStream x,
long length)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(int columnIndex,
InputStream x)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(String columnLabel, InputStream x) throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateBlob(int columnIndex,
InputStream inputStream,
long length)
throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(int columnIndex,
InputStream inputStream)
throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(String columnLabel, InputStream inputStream) throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateCharacterStream(int columnIndex,
Reader x,
long length)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(int columnIndex,
Reader x)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(String columnLabel, Reader reader) throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateClob(int columnIndex,
Reader reader,
long length)
throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(int columnIndex,
Reader reader)
throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(String columnLabel, Reader reader, long length) throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(String columnLabel, Reader reader) throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateNCharacterStream(int columnIndex,
Reader x,
long length)
throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateNCharacterStream(int columnIndex,
Reader x)
throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateNClob(int columnIndex,
NClob nClob)
throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(int columnIndex,
Reader reader,
long length)
throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(int columnIndex,
Reader reader)
throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(String columnLabel, NClob nClob) throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(String columnLabel, Reader reader, long length) throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(String columnLabel, Reader reader) throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNString(int columnIndex,
String nString)
throws SQLException
updateNString in interface ResultSetSQLExceptionpublic void updateNString(String columnLabel, String nString) throws SQLException
updateNString in interface ResultSetSQLExceptionpublic void updateRowId(int columnIndex,
RowId x)
throws SQLException
updateRowId in interface ResultSetSQLExceptionpublic void updateRowId(String columnLabel, RowId x) throws SQLException
updateRowId in interface ResultSetSQLExceptionpublic void updateSQLXML(int columnIndex,
SQLXML xmlObject)
throws SQLException
updateSQLXML in interface ResultSetSQLExceptionpublic void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException
updateSQLXML in interface ResultSetSQLExceptionpublic <T> T getObject(String columnLabel, Class<T> type) throws SQLException
getObject in interface ResultSetSQLExceptionpublic <T> T getObject(int columnIndex,
Class<T> type)
throws SQLException
getObject in interface ResultSetSQLExceptionCopyright © 2006–2022 Apache Software Foundation. All rights reserved.