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

Method use_refactored_array_open

tiledb/sm/array/array.cc:1626–1638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1624}
1625
1626bool Array::use_refactored_array_open() const {
1627 auto found = false;
1628 auto refactored_array_open = false;
1629 auto status = config_.get<bool>(
1630 "rest.use_refactored_array_open", &refactored_array_open, &found);
1631 if (!status.ok() || !found) {
1632 throw std::runtime_error(
1633 "Cannot get rest.use_refactored_array_open configuration option from "
1634 "config");
1635 }
1636
1637 return refactored_array_open || use_refactored_query_submit();
1638}
1639
1640bool Array::use_refactored_query_submit() const {
1641 auto found = false;

Calls 1

okMethod · 0.80

Tested by

no test coverage detected