A collection descriptor
A collection descriptor, MI_COLL_DESC, is a DataBlade API structure that contains a collection cursor to access elements of a collection.
The following table summarizes the memory operations for
a collection descriptor.
Memory duration | Memory operation | Function name |
---|---|---|
Current® memory duration | Constructor | mi_collection_open(), mi_collection_open_with_options() |
Destructor | mi_collection_close() |
Restriction: To a DataBlade
API module,
the collection descriptor (MI_COLL_DESC) is an opaque C data
structure. Do not access its internal fields directly. The internal
structure of a collection descriptor might change in future releases.
Therefore, to create portable code, always use the functions that
access collection elements.