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

Method get_array_schema

tiledb/sm/array/array.cc:1017–1027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1015}
1016
1017tuple<Status, optional<shared_ptr<ArraySchema>>> Array::get_array_schema()
1018 const {
1019 // Error if the array is not open
1020 if (!is_open_)
1021 return {
1022 LOG_STATUS(
1023 Status_ArrayError("Cannot get array schema; Array is not open")),
1024 nullopt};
1025
1026 return {Status::Ok(), opened_array_->array_schema_latest_ptr()};
1027}
1028
1029QueryType Array::get_query_type() const {
1030 return query_type_;

Callers 1

Calls 3

LOG_STATUSFunction · 0.85
Status_ArrayErrorFunction · 0.85

Tested by

no test coverage detected