java.lang.Object
com.aoapps.sql.wrapper.SQLOutputWrapperImpl
- All Implemented Interfaces:
SQLOutputWrapper,Wrapper,AutoCloseable,SQLOutput,Wrapper
Wraps a
SQLOutput.- Author:
- AO Industries, Inc.
-
Constructor Summary
ConstructorsConstructorDescriptionSQLOutputWrapperImpl(ConnectionWrapperImpl connectionWrapper, SQLOutput wrapped) -
Method Summary
Modifier and TypeMethodDescriptionprotected ConnectionWrapperImplGets the connection wrapper.Gets the SQL output that is 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.protected StructunwrapStruct(Struct struct) Unwraps aStruct, if wrapped by this wrapper.protected SQLDataWrapperImplwrapSQLData(SQLData sqlData) Wraps aSQLData, if not already wrapped by this wrapper.voidwriteArray(Array x) voidvoidvoidvoidvoidvoidwriteNClob(NClob x) voidvoidvoidwriteRowId(RowId x) voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.aoapps.sql.wrapper.SQLOutputWrapper
close, writeBigDecimal, writeBoolean, writeByte, writeBytes, writeDate, writeDouble, writeFloat, writeInt, writeLong, writeNString, writeObject, writeShort, writeString, writeTime, writeTimestamp, writeURLMethods inherited from interface com.aoapps.sql.wrapper.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
SQLOutputWrapperImpl
-
-
Method Details
-
getConnectionWrapper
Gets the connection wrapper. -
getWrapped
Description copied from interface:SQLOutputWrapperGets the SQL output that is wrapped.- Specified by:
getWrappedin interfaceSQLOutputWrapper- Specified by:
getWrappedin interfaceWrapper
-
toString
-
unwrapArray
Unwraps anArray, if wrapped by this wrapper.- See Also:
-
unwrapBlob
Unwraps aBlob, if wrapped by this wrapper.- See Also:
-
unwrapClob
Unwraps aClob, if wrapped by this wrapper.- See Also:
-
unwrapInputStream
Unwraps anInputStream, if wrapped by this wrapper.- See Also:
-
unwrapNClob
Unwraps aNClob, if wrapped by this wrapper.- See Also:
-
unwrapReader
Unwraps aReader, if wrapped by this wrapper.- See Also:
-
unwrapRef
Unwraps aRef, if wrapped by this wrapper.- See Also:
-
unwrapRowId
Unwraps aRowId, if wrapped by this wrapper.- See Also:
-
wrapSQLData
Wraps aSQLData, if not already wrapped by this wrapper.- See Also:
-
unwrapSQLXML
Unwraps aSQLXML, if wrapped by this wrapper.- See Also:
-
unwrapStruct
Unwraps aStruct, if wrapped by this wrapper.- See Also:
-
writeCharacterStream
- Specified by:
writeCharacterStreamin interfaceSQLOutput- Specified by:
writeCharacterStreamin interfaceSQLOutputWrapper- Throws:
SQLException- See Also:
-
writeAsciiStream
- Specified by:
writeAsciiStreamin interfaceSQLOutput- Specified by:
writeAsciiStreamin interfaceSQLOutputWrapper- Throws:
SQLException- See Also:
-
writeBinaryStream
- Specified by:
writeBinaryStreamin interfaceSQLOutput- Specified by:
writeBinaryStreamin interfaceSQLOutputWrapper- Throws:
SQLException- See Also:
-
writeObject
- Specified by:
writeObjectin interfaceSQLOutput- Specified by:
writeObjectin interfaceSQLOutputWrapper- Throws:
SQLException- See Also:
-
writeRef
- Specified by:
writeRefin interfaceSQLOutput- Specified by:
writeRefin interfaceSQLOutputWrapper- Throws:
SQLException- See Also:
-
writeBlob
- Specified by:
writeBlobin interfaceSQLOutput- Specified by:
writeBlobin interfaceSQLOutputWrapper- Throws:
SQLException- See Also:
-
writeClob
- Specified by:
writeClobin interfaceSQLOutput- Specified by:
writeClobin interfaceSQLOutputWrapper- Throws:
SQLException- See Also:
-
writeStruct
- Specified by:
writeStructin interfaceSQLOutput- Specified by:
writeStructin interfaceSQLOutputWrapper- Throws:
SQLException- See Also:
-
writeArray
- Specified by:
writeArrayin interfaceSQLOutput- Specified by:
writeArrayin interfaceSQLOutputWrapper- Throws:
SQLException- See Also:
-
writeNClob
- Specified by:
writeNClobin interfaceSQLOutput- Specified by:
writeNClobin interfaceSQLOutputWrapper- Throws:
SQLException- See Also:
-
writeRowId
- Specified by:
writeRowIdin interfaceSQLOutput- Specified by:
writeRowIdin interfaceSQLOutputWrapper- Throws:
SQLException- See Also:
-
writeSQLXML
- Specified by:
writeSQLXMLin interfaceSQLOutput- Specified by:
writeSQLXMLin interfaceSQLOutputWrapper- Throws:
SQLException- See Also:
-
