|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.access.AS400JDBCClobLocator
The AS400JDBCClobLocator class provides access to character large objects. The data is valid only within the current transaction.
Method Summary | |
java.io.InputStream |
getAsciiStream()
Returns the entire clob as a stream of ASCII characters. |
java.io.Reader |
getCharacterStream()
Returns the entire clob as a character stream. |
java.lang.String |
getSubString(long start,
int length)
Returns part of the contents of the clob. |
long |
length()
Returns the length of the clob. |
long |
position(java.sql.Clob pattern,
long start)
Returns the position at which a pattern is found in the clob. |
long |
position(java.lang.String pattern,
long start)
Returns the position at which a pattern is found in the clob. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public java.io.InputStream getAsciiStream() throws java.sql.SQLException
public java.io.Reader getCharacterStream() throws java.sql.SQLException
public java.lang.String getSubString(long start, int length) throws java.sql.SQLException
start
- The position within the clob (1-based).length
- The length to return.public long length() throws java.sql.SQLException
public long position(java.lang.String pattern, long start) throws java.sql.SQLException
pattern
- The pattern.start
- The position within the clob to begin
searching (1-based).public long position(java.sql.Clob pattern, long start) throws java.sql.SQLException
pattern
- The pattern.start
- The position within the clob to begin
searching (1-based).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |