|
Oracle Database JDBC Java API Reference 11g Release 2 E13995-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OracleBlob
| Method Summary | |
|---|---|
void |
close()Close a previously opened BLOB. |
java.io.InputStream |
getBinaryStream(long pos)Read from the BLOB as a stream at the requested position. |
int |
getBytes(long pos, int length, byte[] buf)Oracle extension. |
boolean |
isEmptyLob()Return true if the lob locator points to a empty blob. |
boolean |
isOpen()Check whether the BLOB is opened. |
boolean |
isSecureFile()Returns true if this is a SecureFile (LOBs with the STORE AS SECUREFILE option, which were introduced in Oracle Database 11g Release 1). |
boolean |
isTemporary()Return true if the lob locator points to a temporary blob. |
void |
open(LargeObjectAccessMode mode)Open a BLOB in the indicated mode. |
| Methods inherited from interface java.sql.Blob |
|---|
getBinaryStream, getBytes, length, position, position, setBinaryStream, setBytes, setBytes, truncate |
| Method Detail |
|---|
void open(LargeObjectAccessMode mode)
throws java.sql.SQLException
java.sql.SQLException
void close()
throws java.sql.SQLException
java.sql.SQLException
boolean isOpen()
throws java.sql.SQLException
java.sql.SQLException
int getBytes(long pos,
int length,
byte[] buf)
throws java.sql.SQLException
pos - is the first byte of the blob to be extracted.length - is the number of consecutive bytes to be copied.buf - is the buffer to had the extracted bytes.java.sql.SQLException
boolean isEmptyLob()
throws java.sql.SQLException
java.sql.SQLException
boolean isSecureFile()
throws java.sql.SQLException
true if this is a SecureFile (LOBs with the STORE AS SECUREFILE option, which were introduced in Oracle Database 11g Release 1).true if this is a SecureFile and false otherwise.java.sql.SQLException
java.io.InputStream getBinaryStream(long pos)
throws java.sql.SQLException
pos - is the position data to be read.java.sql.SQLException
boolean isTemporary()
throws java.sql.SQLException
java.sql.SQLException
|
Oracle Database JDBC Java API Reference 11g Release 2 E13995-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||