|
1.50.39 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--interbase.interclient.Clob
Represents an SQL 3 Character Large Object (CLOb). By default, a Clob is a transaction duration reference to a character large object.
Method Summary | |
InputStream |
getAsciiStream()
Get the Clob contents as an ascii stream. |
Reader |
getCharacterStream()
Get the Clob contents as a Unicode stream. |
String |
getSubString(long pos,
int length)
Return copy of the substring of the Clob at the requested position. |
long |
length()
The length of the Character Large Object in characters. |
long |
position(Clob searchstr,
long start)
Determine the character position at which the given substring searchstr appears in the CLOB. |
long |
position(String searchstr,
long start)
Determine the character position at which the given substring searchstr appears in the CLOB. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public long length() throws SQLException
public String getSubString(long pos, int length) throws SQLException
pos
- is the first character of the substring to be extracted.length
- is the number of consecutive character to be copied.public Reader getCharacterStream() throws SQLException
public InputStream getAsciiStream() throws SQLException
public long position(String searchstr, long start) throws SQLException
searchstr
- is the substring to search for.start
- is the position at which to begin searching.public long position(Clob searchstr, long start) throws SQLException
searchstr
- is the substring to search for.start
- is the position at which to begin searching.
|
1.50.39 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |