java.lang.Object
com.aoapps.sql.wrapper.ResultSetWrapperImpl
- All Implemented Interfaces:
ResultSetWrapper,Wrapper,AutoCloseable,ResultSet,Wrapper
Wraps a
ResultSet.- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from interface java.sql.ResultSet
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 Summary
ConstructorsConstructorDescriptionResultSetWrapperImpl(ConnectionWrapperImpl connectionWrapper, StatementWrapperImpl stmtWrapper, ResultSet wrapped) Wraps aResultSet. -
Method Summary
Modifier and TypeMethodDescriptiongetArray(int columnIndex) getAsciiStream(int columnIndex) getAsciiStream(String columnLabel) getBinaryStream(int columnIndex) getBinaryStream(String columnLabel) getBlob(int columnIndex) getCharacterStream(int columnIndex) getCharacterStream(String columnLabel) getClob(int columnIndex) protected ConnectionWrapperImplGets the connection wrapper.getNCharacterStream(int columnIndex) getNCharacterStream(String columnLabel) getNClob(int columnIndex) getRef(int columnIndex) getRowId(int columnIndex) getSQLXML(int columnIndex) protected Optional<? extends StatementWrapperImpl> Gets the statement wrapper.getUnicodeStream(int columnIndex) Deprecated.getUnicodeStream(String columnLabel) Deprecated.Gets the results that are wrapped.toString()protected ArrayunwrapArray(Array array) Unwraps anArray, if wrapped by this wrapper.protected BlobunwrapBlob(Blob blob) Unwraps aBlob, if wrapped by this wrapper.protected ClobunwrapClob(Clob clob) Unwraps aClob, if wrapped by this wrapper.protected InputStreamUnwraps anInputStream, if wrapped by this wrapper.protected NClobunwrapNClob(NClob nclob) Unwraps aNClob, if wrapped by this wrapper.protected ReaderunwrapReader(Reader in) Unwraps aReader, if wrapped by this wrapper.protected RefUnwraps aRef, if wrapped by this wrapper.protected RowIdunwrapRowId(RowId rowId) Unwraps aRowId, if wrapped by this wrapper.protected SQLXMLunwrapSQLXML(SQLXML sqlXml) Unwraps aSQLXML, if wrapped by this wrapper.voidupdateArray(int columnIndex, Array x) voidupdateArray(String columnLabel, Array x) voidupdateAsciiStream(int columnIndex, InputStream x) voidupdateAsciiStream(int columnIndex, InputStream x, int length) voidupdateAsciiStream(int columnIndex, InputStream x, long length) voidupdateAsciiStream(String columnLabel, InputStream x) voidupdateAsciiStream(String columnLabel, InputStream x, int length) voidupdateAsciiStream(String columnLabel, InputStream x, long length) voidupdateBinaryStream(int columnIndex, InputStream x) voidupdateBinaryStream(int columnIndex, InputStream x, int length) voidupdateBinaryStream(int columnIndex, InputStream x, long length) voidupdateBinaryStream(String columnLabel, InputStream x) voidupdateBinaryStream(String columnLabel, InputStream x, int length) voidupdateBinaryStream(String columnLabel, InputStream x, long length) voidupdateBlob(int columnIndex, InputStream inputStream) voidupdateBlob(int columnIndex, InputStream inputStream, long length) voidupdateBlob(int columnIndex, Blob x) voidupdateBlob(String columnLabel, InputStream inputStream) voidupdateBlob(String columnLabel, InputStream inputStream, long length) voidupdateBlob(String columnLabel, Blob x) voidupdateCharacterStream(int columnIndex, Reader x) voidupdateCharacterStream(int columnIndex, Reader x, int length) voidupdateCharacterStream(int columnIndex, Reader x, long length) voidupdateCharacterStream(String columnLabel, Reader reader) voidupdateCharacterStream(String columnLabel, Reader reader, int length) voidupdateCharacterStream(String columnLabel, Reader reader, long length) voidupdateClob(int columnIndex, Reader reader) voidupdateClob(int columnIndex, Reader reader, long length) voidupdateClob(int columnIndex, Clob x) voidupdateClob(String columnLabel, Reader reader) voidupdateClob(String columnLabel, Reader reader, long length) voidupdateClob(String columnLabel, Clob x) voidupdateNCharacterStream(int columnIndex, Reader x) voidupdateNCharacterStream(int columnIndex, Reader x, long length) voidupdateNCharacterStream(String columnLabel, Reader reader) voidupdateNCharacterStream(String columnLabel, Reader reader, long length) voidupdateNClob(int columnIndex, Reader reader) voidupdateNClob(int columnIndex, Reader reader, long length) voidupdateNClob(int columnIndex, NClob nClob) voidupdateNClob(String columnLabel, Reader reader) voidupdateNClob(String columnLabel, Reader reader, long length) voidupdateNClob(String columnLabel, NClob nClob) voidvoidvoidupdateRowId(int columnIndex, RowId x) voidupdateRowId(String columnLabel, RowId x) voidupdateSQLXML(int columnIndex, SQLXML xmlObject) voidupdateSQLXML(String columnLabel, SQLXML xmlObject) protected ArrayWrapperImplWraps anArray, if not already wrapped by this wrapper.protected BlobWrapperImplWraps aBlob, if not already wrapped by this wrapper.protected ClobWrapperImplWraps aClob, if not already wrapped by this wrapper.protected InputStreamWrapperWraps anInputStream, if not already wrapped by this wrapper.protected NClobWrapperImplWraps aNClob, if not already wrapped by this wrapper.protected ReaderWrapperwrapReader(Reader in) Wraps aReader, if not already wrapped by this wrapper.protected RefWrapperImplWraps aRef, if not already wrapped by this wrapper.protected ResultSetMetaDataWrapperImplwrapResultSetMetaData(ResultSetMetaData metaData) Wraps aResultSetMetaData, if not already wrapped by this wrapper.protected RowIdWrapperImplWraps aRowId, if not already wrapped by this wrapper.protected SQLXMLWrapperImplwrapSQLXML(SQLXML sqlXml) Wraps aSQLXML, if not already wrapped by this wrapper.protected StatementWrapperImplwrapStatement(Statement stmt) Wraps aStatement, if not already wrapped by this wrapper.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.aoapps.sql.wrapper.ResultSetWrapper
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, close, deleteRow, findColumn, first, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getHoldability, getInt, getInt, getLong, getLong, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getObject, getRow, getShort, getShort, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, next, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, updateBigDecimal, updateBigDecimal, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateObject, updateObject, updateObject, updateObject, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNullMethods inherited from interface com.aoapps.sql.wrapper.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
ResultSetWrapperImpl
public ResultSetWrapperImpl(ConnectionWrapperImpl connectionWrapper, StatementWrapperImpl stmtWrapper, ResultSet wrapped) Wraps aResultSet.
-
-
Method Details
-
getConnectionWrapper
Gets the connection wrapper. -
getStatementWrapper
Gets the statement wrapper. -
getWrapped
Description copied from interface:ResultSetWrapperGets the results that are wrapped.- Specified by:
getWrappedin interfaceResultSetWrapper- Specified by:
getWrappedin interfaceWrapper
-
toString
-
wrapArray
Wraps anArray, if not already wrapped by this wrapper.- See Also:
-
unwrapArray
Unwraps anArray, if wrapped by this wrapper.- See Also:
-
wrapBlob
Wraps aBlob, if not already wrapped by this wrapper.- See Also:
-
unwrapBlob
Unwraps aBlob, if wrapped by this wrapper.- See Also:
-
wrapClob
Wraps aClob, if not already wrapped by this wrapper.- See Also:
-
unwrapClob
Unwraps aClob, if wrapped by this wrapper.- See Also:
-
wrapInputStream
Wraps anInputStream, if not already wrapped by this wrapper.- See Also:
-
unwrapInputStream
Unwraps anInputStream, if wrapped by this wrapper.- See Also:
-
wrapNClob
Wraps aNClob, if not already wrapped by this wrapper.- See Also:
-
unwrapNClob
Unwraps aNClob, if wrapped by this wrapper.- See Also:
-
wrapReader
Wraps aReader, if not already wrapped by this wrapper.- See Also:
-
unwrapReader
Unwraps aReader, if wrapped by this wrapper.- See Also:
-
wrapRef
Wraps aRef, if not already wrapped by this wrapper.- See Also:
-
unwrapRef
Unwraps aRef, if wrapped by this wrapper.- See Also:
-
wrapResultSetMetaData
Wraps aResultSetMetaData, if not already wrapped by this wrapper.- See Also:
-
wrapRowId
Wraps aRowId, if not already wrapped by this wrapper.- See Also:
-
unwrapRowId
Unwraps aRowId, if wrapped by this wrapper.- See Also:
-
wrapSQLXML
Wraps aSQLXML, if not already wrapped by this wrapper.- See Also:
-
unwrapSQLXML
Unwraps aSQLXML, if wrapped by this wrapper.- See Also:
-
wrapStatement
Wraps aStatement, if not already wrapped by this wrapper.- See Also:
-
getAsciiStream
- Specified by:
getAsciiStreamin interfaceResultSet- Specified by:
getAsciiStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getUnicodeStream
@Deprecated(since="1.2") public InputStreamWrapper getUnicodeStream(int columnIndex) throws SQLException Deprecated.- Specified by:
getUnicodeStreamin interfaceResultSet- Specified by:
getUnicodeStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceResultSet- Specified by:
getBinaryStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getAsciiStream
- Specified by:
getAsciiStreamin interfaceResultSet- Specified by:
getAsciiStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getUnicodeStream
@Deprecated(since="1.2") public InputStreamWrapper getUnicodeStream(String columnLabel) throws SQLException Deprecated.- Specified by:
getUnicodeStreamin interfaceResultSet- Specified by:
getUnicodeStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceResultSet- Specified by:
getBinaryStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getMetaData
- Specified by:
getMetaDatain interfaceResultSet- Specified by:
getMetaDatain interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceResultSet- Specified by:
getCharacterStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceResultSet- Specified by:
getCharacterStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet- Specified by:
updateAsciiStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet- Specified by:
updateBinaryStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet- Specified by:
updateCharacterStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet- Specified by:
updateAsciiStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet- Specified by:
updateBinaryStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException - Specified by:
updateCharacterStreamin interfaceResultSet- Specified by:
updateCharacterStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getStatement
- Specified by:
getStatementin interfaceResultSet- Specified by:
getStatementin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getRef
- Specified by:
getRefin interfaceResultSet- Specified by:
getRefin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getBlob
- Specified by:
getBlobin interfaceResultSet- Specified by:
getBlobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getClob
- Specified by:
getClobin interfaceResultSet- Specified by:
getClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getArray
- Specified by:
getArrayin interfaceResultSet- Specified by:
getArrayin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getRef
- Specified by:
getRefin interfaceResultSet- Specified by:
getRefin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getBlob
- Specified by:
getBlobin interfaceResultSet- Specified by:
getBlobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getClob
- Specified by:
getClobin interfaceResultSet- Specified by:
getClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getArray
- Specified by:
getArrayin interfaceResultSet- Specified by:
getArrayin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateRef
- Specified by:
updateRefin interfaceResultSet- Specified by:
updateRefin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateRef
- Specified by:
updateRefin interfaceResultSet- Specified by:
updateRefin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Specified by:
updateBlobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Specified by:
updateBlobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Specified by:
updateClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Specified by:
updateClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateArray
- Specified by:
updateArrayin interfaceResultSet- Specified by:
updateArrayin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateArray
- Specified by:
updateArrayin interfaceResultSet- Specified by:
updateArrayin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getRowId
- Specified by:
getRowIdin interfaceResultSet- Specified by:
getRowIdin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getRowId
- Specified by:
getRowIdin interfaceResultSet- Specified by:
getRowIdin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateRowId
- Specified by:
updateRowIdin interfaceResultSet- Specified by:
updateRowIdin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateRowId
- Specified by:
updateRowIdin interfaceResultSet- Specified by:
updateRowIdin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet- Specified by:
updateNClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet- Specified by:
updateNClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getNClob
- Specified by:
getNClobin interfaceResultSet- Specified by:
getNClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getNClob
- Specified by:
getNClobin interfaceResultSet- Specified by:
getNClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getSQLXML
- Specified by:
getSQLXMLin interfaceResultSet- Specified by:
getSQLXMLin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getSQLXML
- Specified by:
getSQLXMLin interfaceResultSet- Specified by:
getSQLXMLin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateSQLXML
- Specified by:
updateSQLXMLin interfaceResultSet- Specified by:
updateSQLXMLin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateSQLXML
- Specified by:
updateSQLXMLin interfaceResultSet- Specified by:
updateSQLXMLin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getNCharacterStream
- Specified by:
getNCharacterStreamin interfaceResultSet- Specified by:
getNCharacterStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
getNCharacterStream
- Specified by:
getNCharacterStreamin interfaceResultSet- Specified by:
getNCharacterStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateNCharacterStream
- Specified by:
updateNCharacterStreamin interfaceResultSet- Specified by:
updateNCharacterStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException - Specified by:
updateNCharacterStreamin interfaceResultSet- Specified by:
updateNCharacterStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet- Specified by:
updateAsciiStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet- Specified by:
updateBinaryStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet- Specified by:
updateCharacterStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet- Specified by:
updateAsciiStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet- Specified by:
updateBinaryStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException - Specified by:
updateCharacterStreamin interfaceResultSet- Specified by:
updateCharacterStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Specified by:
updateBlobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException - Specified by:
updateBlobin interfaceResultSet- Specified by:
updateBlobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Specified by:
updateClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Specified by:
updateClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet- Specified by:
updateNClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet- Specified by:
updateNClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateNCharacterStream
- Specified by:
updateNCharacterStreamin interfaceResultSet- Specified by:
updateNCharacterStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateNCharacterStream
- Specified by:
updateNCharacterStreamin interfaceResultSet- Specified by:
updateNCharacterStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet- Specified by:
updateAsciiStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet- Specified by:
updateBinaryStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet- Specified by:
updateCharacterStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet- Specified by:
updateAsciiStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet- Specified by:
updateBinaryStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet- Specified by:
updateCharacterStreamin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Specified by:
updateBlobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Specified by:
updateBlobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Specified by:
updateClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Specified by:
updateClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet- Specified by:
updateNClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet- Specified by:
updateNClobin interfaceResultSetWrapper- Throws:
SQLException- See Also:
-
