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 TypeMethodDescriptionvoid
free()
getBinaryStream
(long pos, long length) getCharacterStream
(long pos, long length) getSubString
(long pos, int length) long
length()
long
long
setAsciiStream
(long pos) setCharacterStream
(long pos) int
int
void
truncate
(long len)
-
Constructor Details
-
ProClob
Constructor taking a String.- Parameters:
data
- The string
-
-
Method Details
-
length
- Specified by:
length
in interfaceClob
- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStream
in interfaceClob
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceClob
- Throws:
SQLException
-
getSubString
- Specified by:
getSubString
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
-
getBinaryStream
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceClob
- Throws:
SQLException
-
free
- Specified by:
free
in interfaceClob
- Throws:
SQLException
-