Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
More OCI Relational Functions, 57 of 106
Converts from column array format to a direct path stream format.
sword OCIDirPathColArrayToStream ( OCIDirPathColArray *dpca, OCIDirPathCtx const *dpctx, OCIDirPathStream *dpstr, OCIError *errhp, ub4 rowcnt, ub4 rowoff );
Direct path column array handle.
Direct path context handle for the object being loaded.
Direct path stream handle.
An error handle you can pass to OCIErrorGet()
for diagnostic information in the event of an error.
Number of rows in the column array.
Starting index in the column array.
This interface is used to convert a column array representation of data in its external format as specified by OCIDirPathColAttrSet()
to a direct path stream format. The converted format is suitable for loading with OCIDirPathLoadStream()
.
The column data in direct path stream format is converted to its Oracle internal representation. All conversions are done on the client side of the two-task interface, all conversion errors occur synchronously with the call to this interface. Information concerning which row and column that an error occurred on is available as an attribute of the column array handle.
Note that in a threaded environment concurrent OCIDirPathColArrayToStream()
operations can be referencing the same direct path context handle. However, the direct path context handle is not modified by this interface.
The return codes for this call are:
OCIDirPathArrayToStream()
again to convert the remainder of the column array data. Note that the column array has internal state to know where to resume conversion from. The column array attribute OCI_ATTR_ROW_COUNT is the number of rows processed.OCIDirPathColArrayEntryGet(), OCIDirPathColArrayEntrySet(), OCIDirPathColArrayRowGet(), OCIDirPathColArrayReset()
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|