Package com.alibaba.druid.proxy.jdbc
Class ClobProxyImpl
java.lang.Object
com.alibaba.druid.proxy.jdbc.ClobProxyImpl
- Direct Known Subclasses:
NClobProxyImpl
- Author:
- wenshao [[email protected]]
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Clob
protected final ConnectionProxy
protected final DataSourceProxy
-
Constructor Summary
ConstructorDescriptionClobProxyImpl
(DataSourceProxy dataSource, ConnectionProxy connection, Clob clob) -
Method Summary
Modifier and TypeMethodDescriptionvoid
free()
getCharacterStream
(long pos, long length) getSubString
(long pos, int length) long
length()
long
long
setAsciiStream
(long pos) setCharacterStream
(long pos) int
int
toString()
void
truncate
(long len)
-
Field Details
-
clob
-
connection
-
dataSource
-
-
Constructor Details
-
ClobProxyImpl
-
-
Method Details
-
createChain
-
getConnectionWrapper
- Specified by:
getConnectionWrapper
in interfaceClobProxy
-
getRawClob
- Specified by:
getRawClob
in interfaceClobProxy
-
free
- Specified by:
free
in interfaceClob
- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStream
in interfaceClob
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceClob
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceClob
- Throws:
SQLException
-
getSubString
- Specified by:
getSubString
in interfaceClob
- Throws:
SQLException
-
length
- Specified by:
length
in interfaceClob
- Throws:
SQLException
-
position
- Specified by:
position
in interfaceClob
- Throws:
SQLException
-
position
- Specified by:
position
in interfaceClob
- Throws:
SQLException
-
setAsciiStream
- Specified by:
setAsciiStream
in interfaceClob
- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStream
in interfaceClob
- Throws:
SQLException
-
setString
- Specified by:
setString
in interfaceClob
- Throws:
SQLException
-
setString
- Specified by:
setString
in interfaceClob
- Throws:
SQLException
-
truncate
- Specified by:
truncate
in interfaceClob
- Throws:
SQLException
-
toString
-