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.

Parameters<br />

setPrefetchMemorySize()<br />

paramIndex<br />

The first parameter is 1, the second is 2, . . . .<br />

x<br />

The object containing the input parameter value.<br />

Statement Class<br />

Set the amount of memory that will be used internally by OCCI to store data<br />

fetched during each round trip to the server. A value of 0 means that the amount of<br />

data fetched during the round trip is constrained by the FetchRowCount<br />

parameter. If both parameters are nonzero, the smaller of the two is used.<br />

Syntax<br />

void setPrefetchMemorySize(unsigned int bytes);<br />

Parameters<br />

setPrefetchRowCount()<br />

bytes<br />

Number of bytes to use for storing data fetched during each round trip to the<br />

server.<br />

Set the number of rows that will be fetched internally by OCCI during each round<br />

trip to the server. A value of 0 means that the amount of data fetched during the<br />

round trip is constrained by the FetchMemorySize parameter. If both parameters<br />

are nonzero, the smaller of the two is used. If both of these parameters are zero, row<br />

count internally defaults to 1 row and that is the value returned from the<br />

getFetchRowCount method.<br />

Syntax<br />

void setPrefetchRowCount(unsigned int rowCount);<br />

Parameters<br />

rowCount<br />

Number of rows to fetch for each round trip to the server.<br />

OCCI Classes and Methods 8-203

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

Saved successfully!

Ooh no, something went wrong!