* 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. */
| 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. |
nothing calls this directly
no test coverage detected