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

Method close

tiledb/sm/cpp_api/array.h:572–575  ·  view source on GitHub ↗

* Closes the array. The destructor calls this automatically * if the underlying pointer is owned. * * **Example:** * @code{.cpp} * tiledb::Array array(ctx, "s3://bucket-name/array-name", TILEDB_READ); * array.close(); * @endcode */

Source from the content-addressed store, hash-verified

570 * @endcode
571 */
572 void close() {
573 auto& ctx = ctx_.get();
574 ctx.handle_error(tiledb_array_close(ctx.ptr().get(), array_.get()));
575 }
576
577 /**
578 * @brief Consolidates the fragments of an array into a single fragment.

Callers

nothing calls this directly

Calls 4

tiledb_array_closeFunction · 0.85
handle_errorMethod · 0.80
getMethod · 0.45
ptrMethod · 0.45

Tested by

no test coverage detected