|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.access.AS400JDBCBlob
The AS400JDBCBlob class provides access to binary large objects. The data is valid only within the current transaction.
Method Summary | |
java.io.InputStream |
getBinaryStream()
Returns the entire blob as a stream of uninterpreted bytes. |
byte[] |
getBytes(long start,
int length)
Returns part of the contents of the blob. |
long |
length()
Returns the length of the blob. |
long |
position(java.sql.Blob pattern,
long start)
Returns the position at which a pattern is found in the blob. |
long |
position(byte[] pattern,
long start)
Returns the position at which a pattern is found in the blob. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public java.io.InputStream getBinaryStream() throws java.sql.SQLException
public byte[] getBytes(long start, int length) throws java.sql.SQLException
start
- The start position within the blob (1-based).length
- The length to return.public long length() throws java.sql.SQLException
public long position(byte[] pattern, long start) throws java.sql.SQLException
pattern
- The pattern.start
- The position within the blob to begin
searching (1-based).public long position(java.sql.Blob pattern, long start) throws java.sql.SQLException
pattern
- The pattern.start
- The position within the blob to begin
searching (1-based).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |