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, wait
updateObject, updateObject, updateObject, updateObject
public ResultSet getDelegate()
public ResultSet getInnermostDelegate()
protected void appendInfo(StringBuffer buf)
public boolean next() throws SQLException
next
in interface ResultSet
SQLException
public void close() throws SQLException
close
in interface AutoCloseable
close
in interface ResultSet
close
in interface Closeable
SQLException
public boolean wasNull() throws SQLException
wasNull
in interface ResultSet
SQLException
public String getString(int a) throws SQLException
getString
in interface ResultSet
SQLException
public boolean getBoolean(int a) throws SQLException
getBoolean
in interface ResultSet
SQLException
public byte getByte(int a) throws SQLException
getByte
in interface ResultSet
SQLException
public short getShort(int a) throws SQLException
getShort
in interface ResultSet
SQLException
public int getInt(int a) throws SQLException
getInt
in interface ResultSet
SQLException
public long getLong(int a) throws SQLException
getLong
in interface ResultSet
SQLException
public float getFloat(int a) throws SQLException
getFloat
in interface ResultSet
SQLException
public double getDouble(int a) throws SQLException
getDouble
in interface ResultSet
SQLException
@Deprecated public BigDecimal getBigDecimal(int a, int b) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
public byte[] getBytes(int a) throws SQLException
getBytes
in interface ResultSet
SQLException
public Date getDate(int a) throws SQLException
getDate
in interface ResultSet
SQLException
public Time getTime(int a) throws SQLException
getTime
in interface ResultSet
SQLException
public Timestamp getTimestamp(int a) throws SQLException
getTimestamp
in interface ResultSet
SQLException
public InputStream getAsciiStream(int a) throws SQLException
getAsciiStream
in interface ResultSet
SQLException
@Deprecated public InputStream getUnicodeStream(int a) throws SQLException
getUnicodeStream
in interface ResultSet
SQLException
public InputStream getBinaryStream(int a) throws SQLException
getBinaryStream
in interface ResultSet
SQLException
public String getString(String a) throws SQLException
getString
in interface ResultSet
SQLException
public boolean getBoolean(String a) throws SQLException
getBoolean
in interface ResultSet
SQLException
public byte getByte(String a) throws SQLException
getByte
in interface ResultSet
SQLException
public short getShort(String a) throws SQLException
getShort
in interface ResultSet
SQLException
public int getInt(String a) throws SQLException
getInt
in interface ResultSet
SQLException
public long getLong(String a) throws SQLException
getLong
in interface ResultSet
SQLException
public float getFloat(String a) throws SQLException
getFloat
in interface ResultSet
SQLException
public double getDouble(String a) throws SQLException
getDouble
in interface ResultSet
SQLException
@Deprecated public BigDecimal getBigDecimal(String a, int b) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
public byte[] getBytes(String a) throws SQLException
getBytes
in interface ResultSet
SQLException
public Date getDate(String a) throws SQLException
getDate
in interface ResultSet
SQLException
public Time getTime(String a) throws SQLException
getTime
in interface ResultSet
SQLException
public Timestamp getTimestamp(String a) throws SQLException
getTimestamp
in interface ResultSet
SQLException
public InputStream getAsciiStream(String a) throws SQLException
getAsciiStream
in interface ResultSet
SQLException
@Deprecated public InputStream getUnicodeStream(String a) throws SQLException
getUnicodeStream
in interface ResultSet
SQLException
public InputStream getBinaryStream(String a) throws SQLException
getBinaryStream
in interface ResultSet
SQLException
public SQLWarning getWarnings() throws SQLException
getWarnings
in interface ResultSet
SQLException
public void clearWarnings() throws SQLException
clearWarnings
in interface ResultSet
SQLException
public String getCursorName() throws SQLException
getCursorName
in interface ResultSet
SQLException
public ResultSetMetaData getMetaData() throws SQLException
getMetaData
in interface ResultSet
SQLException
public Object getObject(int a) throws SQLException
getObject
in interface ResultSet
SQLException
public Object getObject(String a) throws SQLException
getObject
in interface ResultSet
SQLException
public int findColumn(String a) throws SQLException
findColumn
in interface ResultSet
SQLException
public Reader getCharacterStream(int a) throws SQLException
getCharacterStream
in interface ResultSet
SQLException
public Reader getCharacterStream(String a) throws SQLException
getCharacterStream
in interface ResultSet
SQLException
public BigDecimal getBigDecimal(int a) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
public BigDecimal getBigDecimal(String a) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
public boolean isBeforeFirst() throws SQLException
isBeforeFirst
in interface ResultSet
SQLException
public boolean isAfterLast() throws SQLException
isAfterLast
in interface ResultSet
SQLException
public boolean isFirst() throws SQLException
isFirst
in interface ResultSet
SQLException
public boolean isLast() throws SQLException
isLast
in interface ResultSet
SQLException
public void beforeFirst() throws SQLException
beforeFirst
in interface ResultSet
SQLException
public void afterLast() throws SQLException
afterLast
in interface ResultSet
SQLException
public boolean first() throws SQLException
first
in interface ResultSet
SQLException
public boolean last() throws SQLException
last
in interface ResultSet
SQLException
public int getRow() throws SQLException
getRow
in interface ResultSet
SQLException
public boolean absolute(int a) throws SQLException
absolute
in interface ResultSet
SQLException
public boolean relative(int a) throws SQLException
relative
in interface ResultSet
SQLException
public boolean previous() throws SQLException
previous
in interface ResultSet
SQLException
public void setFetchDirection(int a) throws SQLException
setFetchDirection
in interface ResultSet
SQLException
public int getFetchDirection() throws SQLException
getFetchDirection
in interface ResultSet
SQLException
public void setFetchSize(int a) throws SQLException
setFetchSize
in interface ResultSet
SQLException
public int getFetchSize() throws SQLException
getFetchSize
in interface ResultSet
SQLException
public int getType() throws SQLException
getType
in interface ResultSet
SQLException
public int getConcurrency() throws SQLException
getConcurrency
in interface ResultSet
SQLException
public boolean rowUpdated() throws SQLException
rowUpdated
in interface ResultSet
SQLException
public boolean rowInserted() throws SQLException
rowInserted
in interface ResultSet
SQLException
public boolean rowDeleted() throws SQLException
rowDeleted
in interface ResultSet
SQLException
public void updateNull(int a) throws SQLException
updateNull
in interface ResultSet
SQLException
public void updateBoolean(int a, boolean b) throws SQLException
updateBoolean
in interface ResultSet
SQLException
public void updateByte(int a, byte b) throws SQLException
updateByte
in interface ResultSet
SQLException
public void updateShort(int a, short b) throws SQLException
updateShort
in interface ResultSet
SQLException
public void updateInt(int a, int b) throws SQLException
updateInt
in interface ResultSet
SQLException
public void updateLong(int a, long b) throws SQLException
updateLong
in interface ResultSet
SQLException
public void updateFloat(int a, float b) throws SQLException
updateFloat
in interface ResultSet
SQLException
public void updateDouble(int a, double b) throws SQLException
updateDouble
in interface ResultSet
SQLException
public void updateBigDecimal(int a, BigDecimal b) throws SQLException
updateBigDecimal
in interface ResultSet
SQLException
public void updateString(int a, String b) throws SQLException
updateString
in interface ResultSet
SQLException
public void updateBytes(int a, byte[] b) throws SQLException
updateBytes
in interface ResultSet
SQLException
public void updateDate(int a, Date b) throws SQLException
updateDate
in interface ResultSet
SQLException
public void updateTime(int a, Time b) throws SQLException
updateTime
in interface ResultSet
SQLException
public void updateTimestamp(int a, Timestamp b) throws SQLException
updateTimestamp
in interface ResultSet
SQLException
public void updateAsciiStream(int a, InputStream in, int b) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
public void updateBinaryStream(int a, InputStream in, int b) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
public void updateBlob(int a, Blob blob) throws SQLException
updateBlob
in interface ResultSet
SQLException
public void updateCharacterStream(int a, Reader reader, int b) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
public void updateClob(int a, Clob clob) throws SQLException
updateClob
in interface ResultSet
SQLException
public void updateObject(int a, Object ob, int b) throws SQLException
updateObject
in interface ResultSet
SQLException
public void updateObject(int a, Object ob) throws SQLException
updateObject
in interface ResultSet
SQLException
public void updateNull(String a) throws SQLException
updateNull
in interface ResultSet
SQLException
public void updateBoolean(String a, boolean b) throws SQLException
updateBoolean
in interface ResultSet
SQLException
public void updateByte(String a, byte b) throws SQLException
updateByte
in interface ResultSet
SQLException
public void updateShort(String a, short b) throws SQLException
updateShort
in interface ResultSet
SQLException
public void updateInt(String a, int b) throws SQLException
updateInt
in interface ResultSet
SQLException
public void updateLong(String a, long b) throws SQLException
updateLong
in interface ResultSet
SQLException
public void updateFloat(String a, float b) throws SQLException
updateFloat
in interface ResultSet
SQLException
public void updateDouble(String a, double b) throws SQLException
updateDouble
in interface ResultSet
SQLException
public void updateBigDecimal(String a, BigDecimal b) throws SQLException
updateBigDecimal
in interface ResultSet
SQLException
public void updateString(String a, String b) throws SQLException
updateString
in interface ResultSet
SQLException
public void updateBytes(String a, byte[] b) throws SQLException
updateBytes
in interface ResultSet
SQLException
public void updateDate(String a, Date b) throws SQLException
updateDate
in interface ResultSet
SQLException
public void updateTime(String a, Time b) throws SQLException
updateTime
in interface ResultSet
SQLException
public void updateTimestamp(String a, Timestamp b) throws SQLException
updateTimestamp
in interface ResultSet
SQLException
public void updateAsciiStream(String a, InputStream in, int b) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
public void updateBinaryStream(String a, InputStream in, int b) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
public void updateCharacterStream(String a, Reader reader, int b) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
public void updateObject(String a, Object ob, int b) throws SQLException
updateObject
in interface ResultSet
SQLException
public void updateObject(String a, Object b) throws SQLException
updateObject
in interface ResultSet
SQLException
public void insertRow() throws SQLException
insertRow
in interface ResultSet
SQLException
public void updateRow() throws SQLException
updateRow
in interface ResultSet
SQLException
public void deleteRow() throws SQLException
deleteRow
in interface ResultSet
SQLException
public void refreshRow() throws SQLException
refreshRow
in interface ResultSet
SQLException
public void cancelRowUpdates() throws SQLException
cancelRowUpdates
in interface ResultSet
SQLException
public void moveToInsertRow() throws SQLException
moveToInsertRow
in interface ResultSet
SQLException
public void moveToCurrentRow() throws SQLException
moveToCurrentRow
in interface ResultSet
SQLException
public Statement getStatement() throws SQLException
getStatement
in interface ResultSet
SQLException
public Object getObject(int a, Map<String,Class<?>> b) throws SQLException
getObject
in interface ResultSet
SQLException
public Ref getRef(int a) throws SQLException
getRef
in interface ResultSet
SQLException
public Blob getBlob(int a) throws SQLException
getBlob
in interface ResultSet
SQLException
public Clob getClob(int a) throws SQLException
getClob
in interface ResultSet
SQLException
public Array getArray(int a) throws SQLException
getArray
in interface ResultSet
SQLException
public Object getObject(String a, Map<String,Class<?>> b) throws SQLException
getObject
in interface ResultSet
SQLException
public Ref getRef(String a) throws SQLException
getRef
in interface ResultSet
SQLException
public Blob getBlob(String a) throws SQLException
getBlob
in interface ResultSet
SQLException
public Clob getClob(String a) throws SQLException
getClob
in interface ResultSet
SQLException
public Array getArray(String a) throws SQLException
getArray
in interface ResultSet
SQLException
public Date getDate(int a, Calendar b) throws SQLException
getDate
in interface ResultSet
SQLException
public Date getDate(String a, Calendar b) throws SQLException
getDate
in interface ResultSet
SQLException
public Time getTime(int a, Calendar b) throws SQLException
getTime
in interface ResultSet
SQLException
public Time getTime(String a, Calendar b) throws SQLException
getTime
in interface ResultSet
SQLException
public Timestamp getTimestamp(int a, Calendar b) throws SQLException
getTimestamp
in interface ResultSet
SQLException
public Timestamp getTimestamp(String a, Calendar b) throws SQLException
getTimestamp
in interface ResultSet
SQLException
public URL getURL(int column) throws SQLException
getURL
in interface ResultSet
SQLException
public URL getURL(String columnName) throws SQLException
getURL
in interface ResultSet
SQLException
public void updateRef(int column, Ref ref) throws SQLException
updateRef
in interface ResultSet
SQLException
public void updateRef(String columnName, Ref ref) throws SQLException
updateRef
in interface ResultSet
SQLException
public void updateBlob(String columnName, Blob blob) throws SQLException
updateBlob
in interface ResultSet
SQLException
public void updateClob(String columnName, Clob clob) throws SQLException
updateClob
in interface ResultSet
SQLException
public void updateArray(int column, Array array) throws SQLException
updateArray
in interface ResultSet
SQLException
public void updateArray(String columnName, Array array) throws SQLException
updateArray
in interface ResultSet
SQLException
public boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
public <T> T unwrap(Class<T> iface) throws SQLException
unwrap
in interface Wrapper
SQLException
public int getHoldability() throws SQLException
getHoldability
in interface ResultSet
SQLException
public Reader getNCharacterStream(int columnIndex) throws SQLException
getNCharacterStream
in interface ResultSet
SQLException
public Reader getNCharacterStream(String columnLabel) throws SQLException
getNCharacterStream
in interface ResultSet
SQLException
public NClob getNClob(int columnIndex) throws SQLException
getNClob
in interface ResultSet
SQLException
public NClob getNClob(String columnLabel) throws SQLException
getNClob
in interface ResultSet
SQLException
public String getNString(int columnIndex) throws SQLException
getNString
in interface ResultSet
SQLException
public String getNString(String columnLabel) throws SQLException
getNString
in interface ResultSet
SQLException
public RowId getRowId(int columnIndex) throws SQLException
getRowId
in interface ResultSet
SQLException
public RowId getRowId(String columnLabel) throws SQLException
getRowId
in interface ResultSet
SQLException
public SQLXML getSQLXML(int columnIndex) throws SQLException
getSQLXML
in interface ResultSet
SQLException
public SQLXML getSQLXML(String columnLabel) throws SQLException
getSQLXML
in interface ResultSet
SQLException
public boolean isClosed() throws SQLException
isClosed
in interface ResultSet
SQLException
public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException
updateBlob
in interface ResultSet
SQLException
public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException
updateBlob
in interface ResultSet
SQLException
public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException
updateBlob
in interface ResultSet
SQLException
public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException
updateBlob
in interface ResultSet
SQLException
public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
public void updateCharacterStream(int columnIndex, Reader x) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
public void updateClob(int columnIndex, Reader reader, long length) throws SQLException
updateClob
in interface ResultSet
SQLException
public void updateClob(int columnIndex, Reader reader) throws SQLException
updateClob
in interface ResultSet
SQLException
public void updateClob(String columnLabel, Reader reader, long length) throws SQLException
updateClob
in interface ResultSet
SQLException
public void updateClob(String columnLabel, Reader reader) throws SQLException
updateClob
in interface ResultSet
SQLException
public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException
updateNCharacterStream
in interface ResultSet
SQLException
public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException
updateNCharacterStream
in interface ResultSet
SQLException
public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
updateNCharacterStream
in interface ResultSet
SQLException
public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException
updateNCharacterStream
in interface ResultSet
SQLException
public void updateNClob(int columnIndex, NClob nClob) throws SQLException
updateNClob
in interface ResultSet
SQLException
public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException
updateNClob
in interface ResultSet
SQLException
public void updateNClob(int columnIndex, Reader reader) throws SQLException
updateNClob
in interface ResultSet
SQLException
public void updateNClob(String columnLabel, NClob nClob) throws SQLException
updateNClob
in interface ResultSet
SQLException
public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException
updateNClob
in interface ResultSet
SQLException
public void updateNClob(String columnLabel, Reader reader) throws SQLException
updateNClob
in interface ResultSet
SQLException
public void updateNString(int columnIndex, String nString) throws SQLException
updateNString
in interface ResultSet
SQLException
public void updateNString(String columnLabel, String nString) throws SQLException
updateNString
in interface ResultSet
SQLException
public void updateRowId(int columnIndex, RowId x) throws SQLException
updateRowId
in interface ResultSet
SQLException
public void updateRowId(String columnLabel, RowId x) throws SQLException
updateRowId
in interface ResultSet
SQLException
public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException
updateSQLXML
in interface ResultSet
SQLException
public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException
updateSQLXML
in interface ResultSet
SQLException
public <T> T getObject(String columnLabel, Class<T> type) throws SQLException
getObject
in interface ResultSet
SQLException
public <T> T getObject(int columnIndex, Class<T> type) throws SQLException
getObject
in interface ResultSet
SQLException
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.