MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / metadata_num

Method metadata_num

tiledb/sm/cpp_api/array.h:1146–1152  ·  view source on GitHub ↗

* Returns then number of metadata items in an open array. The array must * be opened in READ mode, otherwise the function will error out. */

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 4

handle_errorMethod · 0.80
getMethod · 0.45
ptrMethod · 0.45

Tested by

no test coverage detected