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
ConstructorDescriptionSQLOutputWrapperImpl
(ConnectionWrapperImpl connectionWrapper, SQLOutput wrapped) -
Method Summary
Modifier and TypeMethodDescriptionprotected ConnectionWrapperImpl
Gets the connection wrapper.Gets the SQL output that is wrapped.toString()
protected Array
unwrapArray
(Array array) Unwraps anArray
, if wrapped by this wrapper.protected Blob
unwrapBlob
(Blob blob) Unwraps aBlob
, if wrapped by this wrapper.protected Clob
unwrapClob
(Clob clob) Unwraps aClob
, if wrapped by this wrapper.protected InputStream
Unwraps anInputStream
, if wrapped by this wrapper.protected NClob
unwrapNClob
(NClob nclob) Unwraps aNClob
, if wrapped by this wrapper.protected Reader
unwrapReader
(Reader in) Unwraps aReader
, if wrapped by this wrapper.protected Ref
Unwraps aRef
, if wrapped by this wrapper.protected RowId
unwrapRowId
(RowId rowId) Unwraps aRowId
, if wrapped by this wrapper.protected SQLXML
unwrapSQLXML
(SQLXML sqlXml) Unwraps aSQLXML
, if wrapped by this wrapper.protected Struct
unwrapStruct
(Struct struct) Unwraps aStruct
, if wrapped by this wrapper.protected SQLDataWrapperImpl
wrapSQLData
(SQLData sqlData) Wraps aSQLData
, if not already wrapped by this wrapper.void
writeArray
(Array x) void
void
void
void
void
void
writeNClob
(NClob x) void
void
void
writeRowId
(RowId x) void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.aoapps.sql.wrapper.SQLOutputWrapper
close, writeBigDecimal, writeBoolean, writeByte, writeBytes, writeDate, writeDouble, writeFloat, writeInt, writeLong, writeNString, writeObject, writeShort, writeString, writeTime, writeTimestamp, writeURL
Methods 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:SQLOutputWrapper
Gets the SQL output that is wrapped.- Specified by:
getWrapped
in interfaceSQLOutputWrapper
- Specified by:
getWrapped
in 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:
writeCharacterStream
in interfaceSQLOutput
- Specified by:
writeCharacterStream
in interfaceSQLOutputWrapper
- Throws:
SQLException
- See Also:
-
writeAsciiStream
- Specified by:
writeAsciiStream
in interfaceSQLOutput
- Specified by:
writeAsciiStream
in interfaceSQLOutputWrapper
- Throws:
SQLException
- See Also:
-
writeBinaryStream
- Specified by:
writeBinaryStream
in interfaceSQLOutput
- Specified by:
writeBinaryStream
in interfaceSQLOutputWrapper
- Throws:
SQLException
- See Also:
-
writeObject
- Specified by:
writeObject
in interfaceSQLOutput
- Specified by:
writeObject
in interfaceSQLOutputWrapper
- Throws:
SQLException
- See Also:
-
writeRef
- Specified by:
writeRef
in interfaceSQLOutput
- Specified by:
writeRef
in interfaceSQLOutputWrapper
- Throws:
SQLException
- See Also:
-
writeBlob
- Specified by:
writeBlob
in interfaceSQLOutput
- Specified by:
writeBlob
in interfaceSQLOutputWrapper
- Throws:
SQLException
- See Also:
-
writeClob
- Specified by:
writeClob
in interfaceSQLOutput
- Specified by:
writeClob
in interfaceSQLOutputWrapper
- Throws:
SQLException
- See Also:
-
writeStruct
- Specified by:
writeStruct
in interfaceSQLOutput
- Specified by:
writeStruct
in interfaceSQLOutputWrapper
- Throws:
SQLException
- See Also:
-
writeArray
- Specified by:
writeArray
in interfaceSQLOutput
- Specified by:
writeArray
in interfaceSQLOutputWrapper
- Throws:
SQLException
- See Also:
-
writeNClob
- Specified by:
writeNClob
in interfaceSQLOutput
- Specified by:
writeNClob
in interfaceSQLOutputWrapper
- Throws:
SQLException
- See Also:
-
writeRowId
- Specified by:
writeRowId
in interfaceSQLOutput
- Specified by:
writeRowId
in interfaceSQLOutputWrapper
- Throws:
SQLException
- See Also:
-
writeSQLXML
- Specified by:
writeSQLXML
in interfaceSQLOutput
- Specified by:
writeSQLXML
in interfaceSQLOutputWrapper
- Throws:
SQLException
- See Also:
-