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
-
Method Summary
Modifier and TypeMethodDescriptiongetCharacterStream
(long pos, long length) protected ConnectionWrapperImpl
Gets the connection wrapper.Gets the clob that is wrapped.long
setAsciiStream
(long pos) setCharacterStream
(long pos) toString()
protected Clob
unwrapClob
(Clob clob) Unwraps aClob
, if wrapped by this wrapper.protected InputStreamWrapper
Wraps anInputStream
, if not already wrapped by this wrapper.protected OutputStreamWrapper
Wraps anOutputStream
, if not already wrapped by this wrapper.protected ReaderWrapper
wrapReader
(Reader in) Wraps aReader
, if not already wrapped by this wrapper.protected WriterWrapper
wrapWriter
(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, wait
Methods inherited from interface com.aoapps.sql.wrapper.ClobWrapper
close, free, getSubString, length, position, setString, setString, truncate
Methods 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:ClobWrapper
Gets the clob that is wrapped.- Specified by:
getWrapped
in interfaceClobWrapper
- Specified by:
getWrapped
in 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:
getCharacterStream
in interfaceClob
- Specified by:
getCharacterStream
in interfaceClobWrapper
- Throws:
SQLException
- See Also:
-
getAsciiStream
- Specified by:
getAsciiStream
in interfaceClob
- Specified by:
getAsciiStream
in interfaceClobWrapper
- Throws:
SQLException
- See Also:
-
position
- Specified by:
position
in interfaceClob
- Specified by:
position
in interfaceClobWrapper
- Throws:
SQLException
- See Also:
-
setAsciiStream
- Specified by:
setAsciiStream
in interfaceClob
- Specified by:
setAsciiStream
in interfaceClobWrapper
- Throws:
SQLException
- See Also:
-
setCharacterStream
- Specified by:
setCharacterStream
in interfaceClob
- Specified by:
setCharacterStream
in interfaceClobWrapper
- Throws:
SQLException
- See Also:
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceClob
- Specified by:
getCharacterStream
in interfaceClobWrapper
- Throws:
SQLException
- See Also:
-