java.lang.Object
org.firebirdsql.jdbc.field.FBCachedClob
Clob implementation that is cached client-side.
This implementation is used for disconnected result sets (ie scrollable and hold cursors over commit).
This class also implements NClob so it can be used with the set/get/updateNClob methods
transparently. It technically does not conform to the JDBC requirements for NClob.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfree()getCharacterStream(long pos, long length) getSubString(long pos, int length) longlength()longlongsetAsciiStream(long pos) setCharacterStream(long pos) intintvoidtruncate(long len)
-
Constructor Details
-
FBCachedClob
-
-
Method Details
-
free
- Specified by:
freein interfaceClob- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStreamin interfaceClob- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceClob- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceClob- Throws:
SQLException
-
getSubString
- Specified by:
getSubStringin interfaceClob- Throws:
SQLException
-
length
- Specified by:
lengthin interfaceClob- Throws:
SQLException
-
position
- Specified by:
positionin interfaceClob- Throws:
SQLException
-
position
- Specified by:
positionin interfaceClob- Throws:
SQLException
-
setAsciiStream
- Specified by:
setAsciiStreamin interfaceClob- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStreamin interfaceClob- Throws:
SQLException
-
setString
- Specified by:
setStringin interfaceClob- Throws:
SQLException
-
setString
- Specified by:
setStringin interfaceClob- Throws:
SQLException
-
truncate
- Specified by:
truncatein interfaceClob- Throws:
SQLException
-