|
|
mutex | lock |
|
case_insensitive_tree_t< IndexType > | functions |
◆ IndexTypeSet()
| duckdb::IndexTypeSet::IndexTypeSet |
( |
| ) |
|
156802 {
156803
156804 RegisterIndexType(ART::GetARTIndexType());
156805}
◆ FindByName()
156807 {
156808 lock_guard<mutex> g(lock);
156809 auto entry = functions.find(name);
156810 if (entry == functions.end()) {
156811 return nullptr;
156812 }
156813 return &entry->second;
156814}
◆ RegisterIndexType()
| void duckdb::IndexTypeSet::RegisterIndexType |
( |
const IndexType & | index_type | ) |
|
156816 {
156817 lock_guard<mutex> g(lock);
156818 if (functions.find(
index_type.name) != functions.end()) {
156819 throw CatalogException(
"Index type with name \"%s\" already exists!",
index_type.name.c_str());
156820 }
156822}
The documentation for this class was generated from the following files: