10.12.2012 Views

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

append()<br />

Table 8–3 Blob Methods (Cont.)<br />

Method Summary<br />

close() on page 8-14 Close a previously opened BLOB.<br />

closeStream() on page 8-14 Close the Stream object obtained from the BLOB.<br />

This method appends a BLOB to the end of the current BLOB.<br />

Syntax<br />

void append(const Blob &srcBlob);<br />

Blob Class<br />

copy() on page 8-14 Copy a specified portion of a BFILE or BLOB into the<br />

current BLOB.<br />

getChunkSize() on page 8-15 Return the chunk size of the BLOB.<br />

getStream() on page 8-16 Return data from the BLOB as a Stream object.<br />

isInitialized() on page 8-16 Test whether the Blob object is initialized<br />

isNull() on page 8-16 Test whether the Blob object is atomically null.<br />

isOpen() on page 8-17 Test whether the BLOB is open<br />

length() on page 8-17 Return the number of bytes in the BLOB.<br />

open() on page 8-17 Open the BLOB with read or read/write access.<br />

operator=() on page 8-17 Assign a BLOB locator to the Blob object.<br />

operator==() on page 8-18 Test whether two Blob objects are equal.<br />

operator!= () on page 8-18 Test whether two Blob objects are not equal.<br />

read() on page 8-18 Read a portion of the BLOB into a buffer.<br />

setEmpty() on page 8-19 Set the Blob object to empty.<br />

setEmpty() on page 8-19 Set the Blob object to empty and initializes the<br />

connection pointer to the passed parameter.<br />

setNull() on page 8-20 Set the Blob object to atomically null.<br />

trim() on page 8-20 Truncate the BLOB to a specified length.<br />

write() on page 8-20 Write a buffer into an unopened BLOB.<br />

writeChunk() on page 8-21 Write a buffer into an open BLOB.<br />

OCCI Classes and Methods 8-13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!