Package com.progress.open4gl
Class ProClob
java.lang.Object
com.progress.open4gl.ProClob
- All Implemented Interfaces:
Serializable,Clob
The mapping in the Java programming language for the SQL CLOB type. An SQL
CLOB is a built-in type that stores a Character Large Object as a column
value in a row of a database table. The driver implements a Clob object using
an SQL locator(CLOB), which means that a Clob object contains a logical
pointer to the SQL CLOB data rather than the data itself. A Clob object is
valid for the duration of the transaction in which is was created.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfree()getBinaryStream(long pos, long length) getCharacterStream(long pos, long length) getSubString(long pos, int length) longlength()longlongsetAsciiStream(long pos) setCharacterStream(long pos) intintvoidtruncate(long len)
-
Constructor Details
-
ProClob
Constructor taking a String.- Parameters:
data- The string
-
-
Method Details
-
length
- Specified by:
lengthin interfaceClob- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStreamin interfaceClob- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceClob- Throws:
SQLException
-
getSubString
- Specified by:
getSubStringin 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
-
getBinaryStream
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceClob- Throws:
SQLException
-
free
- Specified by:
freein interfaceClob- Throws:
SQLException
-