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.

ResultSet Class<br />

Parameters<br />

setBinaryStreamMode()<br />

paramIndex<br />

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

Defines that a column is to be returned as a binary stream by the getStream<br />

method.<br />

Syntax<br />

void setBinaryStreamMode(unsigned int colIndex,<br />

unsigned int size);<br />

Parameters<br />

setCharacterStreamMode()<br />

colIndex<br />

The position of the column that is to be retrieved as a binary stream (the first<br />

column is 1, the second is 2, . . .).<br />

size<br />

The amount of data to be read as a binary stream.<br />

Defines that a column is to be returned as a character stream by the getStream<br />

method.<br />

Syntax<br />

void setCharacterStreamMode(unsigned int colIndex,<br />

unsigned int size);<br />

Parameters<br />

colIndex<br />

The position of the column that is to be retrieved as a character stream (the first<br />

column is 1, the second is 2,. . .).<br />

size<br />

The amount of data to be read as a character stream.<br />

8-160 <strong>Oracle</strong> <strong>C++</strong> <strong>Call</strong> <strong>Interface</strong> Programmer’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!