* Returns then number of metadata items in an open array. The array must * be opened in READ mode, otherwise the function will error out. */
| 1144 | * be opened in READ mode, otherwise the function will error out. |
| 1145 | */ |
| 1146 | uint64_t metadata_num() const { |
| 1147 | uint64_t num; |
| 1148 | auto& ctx = ctx_.get(); |
| 1149 | tiledb_ctx_t* c_ctx = ctx.ptr().get(); |
| 1150 | ctx.handle_error(tiledb_array_get_metadata_num(c_ctx, array_.get(), &num)); |
| 1151 | return num; |
| 1152 | } |
| 1153 | |
| 1154 | /** |
| 1155 | * It gets a metadata item from an open array using an index. |
nothing calls this directly
no test coverage detected