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::DatabaseFilePathManager Class Reference

The DatabaseFilePathManager is used to ensure we only ever open a single database file once. More...

#include <duckdb.hpp>

Collaboration diagram for duckdb::DatabaseFilePathManager:

Public Member Functions

idx_t ApproxDatabaseCount () const
 
InsertDatabasePathResult InsertDatabasePath (DatabaseManager &manager, const string &path, const string &name, OnCreateConflict on_conflict, AttachOptions &options)
 
void EraseDatabasePath (const string &path)
 Erase a database path - indicating we are done with using it.
 
void DetachDatabase (DatabaseManager &manager, const string &path)
 Called when a database is detached, but before it is fully finished being used.
 

Private Attributes

mutex db_paths_lock
 The lock to add entries to the db_paths map.
 
unordered_map< string, DatabasePathInfodb_paths
 

Detailed Description

The DatabaseFilePathManager is used to ensure we only ever open a single database file once.

Member Data Documentation

◆ db_paths

unordered_map<string, DatabasePathInfo> duckdb::DatabaseFilePathManager::db_paths
private

A set containing all attached database path This allows to attach many databases efficiently, and to avoid attaching the same file path twice


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