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

Method load_schema

tiledb/sm/cpp_api/array.h:718–723  ·  view source on GitHub ↗

* Loads the array schema from an array. * * **Example:** * @code{.cpp} * auto schema = tiledb::Array::load_schema(ctx, * "s3://bucket-name/array-name"); * @endcode * * @param ctx The TileDB context. * @param uri The array URI. * @return The loaded ArraySchema object. */

Source from the content-addressed store, hash-verified

716 * @return The loaded ArraySchema object.
717 */
718 static ArraySchema load_schema(const Context& ctx, const std::string& uri) {
719 tiledb_array_schema_t* schema;
720 ctx.handle_error(
721 tiledb_array_schema_load(ctx.ptr().get(), uri.c_str(), &schema));
722 return ArraySchema(ctx, schema);
723 }
724
725 /**
726 * Loads the array schema from an array.

Callers

nothing calls this directly

Calls 6

tiledb_array_schema_loadFunction · 0.85
handle_errorMethod · 0.80
c_strMethod · 0.80
ArraySchemaClass · 0.70
getMethod · 0.45
ptrMethod · 0.45

Tested by

no test coverage detected