java.lang.Object
com.aoapps.sql.wrapper.ClobWrapperImpl
- All Implemented Interfaces:
ClobWrapper,Wrapper,AutoCloseable,Clob,Wrapper
- Direct Known Subclasses:
NClobWrapperImpl
Wraps a
Clob.- Author:
- AO Industries, Inc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCharacterStream(long pos, long length) protected ConnectionWrapperImplGets the connection wrapper.Gets the clob that is wrapped.longsetAsciiStream(long pos) setCharacterStream(long pos) toString()protected ClobunwrapClob(Clob clob) Unwraps aClob, if wrapped by this wrapper.protected InputStreamWrapperWraps anInputStream, if not already wrapped by this wrapper.protected OutputStreamWrapperWraps anOutputStream, if not already wrapped by this wrapper.protected ReaderWrapperwrapReader(Reader in) Wraps aReader, if not already wrapped by this wrapper.protected WriterWrapperwrapWriter(Writer out) Wraps aWriter, 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.ClobWrapper
close, free, getSubString, length, position, setString, setString, truncateMethods inherited from interface com.aoapps.sql.wrapper.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
ClobWrapperImpl
-
-
Method Details
-
getConnectionWrapper
Gets the connection wrapper. -
getWrapped
Description copied from interface:ClobWrapperGets the clob that is wrapped.- Specified by:
getWrappedin interfaceClobWrapper- Specified by:
getWrappedin interfaceWrapper
-
toString
-
unwrapClob
Unwraps aClob, if wrapped by this wrapper.- See Also:
-
wrapInputStream
Wraps anInputStream, if not already wrapped by this wrapper.- See Also:
-
wrapOutputStream
Wraps anOutputStream, if not already wrapped by this wrapper.- See Also:
-
wrapReader
Wraps aReader, if not already wrapped by this wrapper.- See Also:
-
wrapWriter
Wraps aWriter, if not already wrapped by this wrapper.- See Also:
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceClob- Specified by:
getCharacterStreamin interfaceClobWrapper- Throws:
SQLException- See Also:
-
getAsciiStream
- Specified by:
getAsciiStreamin interfaceClob- Specified by:
getAsciiStreamin interfaceClobWrapper- Throws:
SQLException- See Also:
-
position
- Specified by:
positionin interfaceClob- Specified by:
positionin interfaceClobWrapper- Throws:
SQLException- See Also:
-
setAsciiStream
- Specified by:
setAsciiStreamin interfaceClob- Specified by:
setAsciiStreamin interfaceClobWrapper- Throws:
SQLException- See Also:
-
setCharacterStream
- Specified by:
setCharacterStreamin interfaceClob- Specified by:
setCharacterStreamin interfaceClobWrapper- Throws:
SQLException- See Also:
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceClob- Specified by:
getCharacterStreamin interfaceClobWrapper- Throws:
SQLException- See Also:
-
