| 1015 | } |
| 1016 | |
| 1017 | tuple<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 | |
| 1029 | QueryType Array::get_query_type() const { |
| 1030 | return query_type_; |
no test coverage detected