7.32. ODPI-C Structure dpiVectorInfo

This structure is used for providing or receiving information about a vector.

uint8_t dpiVectorInfo.format

Specifies the storage format for the vector. It should be one of the values from the enumeration dpiVectorFormat.

uint32_t dpiVectorInfo.numDimensions

Specifies the number of dimensions the vector contains.

uint8_t dpiVectorInfo.dimensionSize

Specifies the size (in bytes) of each dimension of the vector. This value does not need to be specified on input but is populated on output as a convenience.

dpiVectorDimensionBuffer dpiVectorInfo.dimensions

Specifies the buffer for the dimensions. On input the buffer must remain valid for the duration of the call into ODPI-C. On output the buffer will remain valid as long as the vector object remains valid and the contents of the vector are not changed. See the dpiVectorDimensionBuffer union for more information.