Top | Module | Use | Manual | Index |
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS  |
CLOB
type.
A 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 a 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 it was created.
The
Clob
interface provides methods for getting the
length of a SQL
CLOB
(Character Large Object) value,
for materializing a
CLOB
value on the client, and for
searching for a substring or
CLOB
object within a
CLOB
value.
Methods in the interfaces
XResultSet
,
and
XPreparedStatement
, such as
getClob
and
setClob
allow a programmer to
access the SQL
CLOB
.
Methods' Summary |
|
length | returns the number of characters in the
CLOB
value
designated by this
Clob
object.
|
getSubString | returns a copy of the specified substring in the
Clob
value
designated by this
Clob
object.
|
getCharacterStream | gets the
Clob
contents as a stream.
|
position | determines the character position at which the specified substring
searchstr
appears in the
Clob
. The search begins at position
start
.
|
positionOfClob | determines the position at which the specified
Clob
object
pattern
appears in this
Clob
object. The search begins at position
start
.
|
Methods' Details |
||||
|
||||
|
||||
|
||||
|
||||
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.