Share via


SQLServerClob Methods

The following tables list the methods that are exposed by the SQLServerClob class.

Methods

Name Description

free

This method frees the BLOB object and releases the resources that it holds.

getAsciiStream

Materializes the Clob as an ASCII stream.

getCharacterStream

Returns the Clob data as a java.io.Reader object or as a stream of characters.

getSubString

Returns a copy of the specified substring in the Clob based on the specified starting position and number of characters to copy.

length

Returns the number of characters in the Clob.

position

Returns the character position of the specified Clob object or substring in the Clob based on the specified starting position.

setAsciiStream

Returns a stream to be used to write ASCII characters to the Clob starting at the specified position.

setCharacterStream

Returns a stream to be used to write a stream of Unicode characters to the Clob starting at the specified position.

setString

Writes the specified string to the Clob starting at the specified position.

truncate

Truncates the Clob to the specified length.

Inherited Methods

Class inherited from: Methods

java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait

See Also

Reference

SQLServerClob Class

Concepts

SQLServerClob Members