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

Method enumeration_to_add

tiledb/sm/array_schema/array_schema_evolution.cc:289–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289shared_ptr<const Enumeration> ArraySchemaEvolution::enumeration_to_add(
290 const std::string& name) const {
291 std::lock_guard<std::mutex> lock(mtx_);
292 auto it = enumerations_to_add_map_.find(name);
293
294 if (it == enumerations_to_add_map_.end()) {
295 return nullptr;
296 }
297
298 return it->second;
299}
300
301void ArraySchemaEvolution::extend_enumeration(
302 shared_ptr<const Enumeration> enmr) {

Callers 2

Calls 1

endMethod · 0.45

Tested by

no test coverage detected