Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::IndexTypeSet Class Reference

Public Member Functions

DUCKDB_API optional_ptr< IndexType > FindByName (const string &name)
DUCKDB_API void RegisterIndexType (const IndexType &index_type)

Private Attributes

mutex lock
case_insensitive_tree_t< IndexType > functions

Constructor & Destructor Documentation

◆ IndexTypeSet()

duckdb::IndexTypeSet::IndexTypeSet ( )
156802 {
156803 // Register the ART index type by default
156804 RegisterIndexType(ART::GetARTIndexType());
156805}

Member Function Documentation

◆ FindByName()

optional_ptr< IndexType > duckdb::IndexTypeSet::FindByName ( const string & name)
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 }
156821 functions[index_type.name] = index_type;
156822}
float index_type

The documentation for this class was generated from the following files: