Clob

Represents a CLOB value.

Methods
void free()
Release all resources of this object.
InputStream getAsciiStream()
Returns the input stream.
Reader getCharacterStream()
Returns the reader.
Reader getCharacterStream(long pos, long length)
[Not supported] Returns the reader, starting from an offset.
String getSubString(long pos, int length)
Returns a substring.
long length()
Returns the length.
long position(String pattern, long start)
[Not supported] Searches a pattern and return the position.
long position(Clob clobPattern, long start)
[Not supported] Searches a pattern and return the position.
OutputStream setAsciiStream(long pos)
[Not supported] Returns an output stream.
Writer setCharacterStream(long pos)
[Not supported] Returns a writer starting from a given position.
int setString(long pos, String str)
[Not supported] Sets a substring.
int setString(long pos, String str, int offset, int len)
[Not supported] Sets a substring.
void truncate(long len)
[Not supported] Truncates the object.

void free()

Release all resources of this object.

InputStream getAsciiStream() throws SQLException

Returns the input stream.

Returns:
the input stream

Reader getCharacterStream() throws SQLException

Returns the reader.

Returns:
the reader

Reader getCharacterStream(long pos, long length) throws SQLException

[Not supported] Returns the reader, starting from an offset.

String getSubString(long pos, int length) throws SQLException

Returns a substring.

Parameters:
pos - the position (the first character is at position 1)
length - the number of characters
Returns:
the string

long length() throws SQLException

Returns the length.

Returns:
the length

long position(String pattern, long start) throws SQLException

[Not supported] Searches a pattern and return the position.

long position(Clob clobPattern, long start) throws SQLException

[Not supported] Searches a pattern and return the position.

OutputStream setAsciiStream(long pos) throws SQLException

[Not supported] Returns an output stream.

Writer setCharacterStream(long pos) throws SQLException

[Not supported] Returns a writer starting from a given position.

int setString(long pos, String str) throws SQLException

[Not supported] Sets a substring.

int setString(long pos, String str, int offset, int len) throws SQLException

[Not supported] Sets a substring.

void truncate(long len) throws SQLException

[Not supported] Truncates the object.