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.

getChunkSize()<br />

Parameters<br />

srcBfile<br />

The BFILE from which the data is to be copied.<br />

srcBlob<br />

The BLOB from which the data is to be copied.<br />

numBytes<br />

The number of bytes to be copied from the source BFILE or BLOB.<br />

Valid values are:<br />

Numbers greater than 0.<br />

dstOffset<br />

The starting position at which to begin writing data into the current BLOB.<br />

Valid values are:<br />

Numbers greater than or equal to 1.<br />

srcOffset<br />

The starting position at which to begin reading data from the source BFILE or<br />

BLOB.<br />

Valid values are:<br />

Numbers greater than or equal to 1.<br />

Blob Class<br />

This method returns the chunk size of the BLOB.<br />

When creating a table that contains a BLOB, the user can specify the chunking<br />

factor, which can be a multiple of <strong>Oracle</strong> blocks. This corresponds to the chunk size<br />

used by the LOB data layer when accessing or modifying the BLOB.<br />

Syntax<br />

unsigned int getChunkSize() const;<br />

OCCI Classes and Methods 8-15

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

Saved successfully!

Ooh no, something went wrong!