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

Method load_schema_with_config

tiledb/sm/cpp_api/array.h:743–749  ·  view source on GitHub ↗

* Loads the array schema from an array. * Options to load additional features are read from the optionally-provided * `config`. See `tiledb_array_schema_load_with_config`. * * **Example:** * @code{.cpp} * tiledb::Config config; * config["rest.load_enumerations_on_array_open"] = "true"; * auto schema = tiledb::Array::load_schema_with_config(ctx, config, * "s3://bucket-nam

Source from the content-addressed store, hash-verified

741 * @return The loaded ArraySchema object.
742 */
743 static ArraySchema load_schema_with_config(
744 const Context& ctx, const Config& config, const std::string& uri) {
745 tiledb_array_schema_t* schema;
746 ctx.handle_error(tiledb_array_schema_load_with_config(
747 ctx.ptr().get(), config.ptr().get(), uri.c_str(), &schema));
748 return ArraySchema(ctx, schema);
749 }
750
751 /**
752 * Gets the encryption type the given array was created with.

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected