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::TemporarySecretStorage Class Reference
Inheritance diagram for duckdb::TemporarySecretStorage:
Collaboration diagram for duckdb::TemporarySecretStorage:

Public Member Functions

 TemporarySecretStorage (const string &name_p, DatabaseInstance &db_p)
Public Member Functions inherited from duckdb::CatalogSetSecretStorage
 CatalogSetSecretStorage (DatabaseInstance &db_instance, const string &name_p, const int64_t offset)
string & GetName () override
 SecretStorage API.
unique_ptr< SecretEntry > StoreSecret (unique_ptr< const BaseSecret > secret, OnCreateConflict on_conflict, optional_ptr< CatalogTransaction > transaction=nullptr) override
 Store a secret.
vector< SecretEntry > AllSecrets (optional_ptr< CatalogTransaction > transaction=nullptr) override
 Get all secrets.
void DropSecretByName (const string &name, OnEntryNotFound on_entry_not_found, optional_ptr< CatalogTransaction > transaction=nullptr) override
 Drop secret by name.
SecretMatch LookupSecret (const string &path, const string &type, optional_ptr< CatalogTransaction > transaction=nullptr) override
 Get best match.
unique_ptr< SecretEntry > GetSecretByName (const string &name, optional_ptr< CatalogTransaction > transaction=nullptr) override
 Get a secret by name.
Public Member Functions inherited from duckdb::SecretStorage
 SecretStorage (const string &name, const int64_t tie_break_offset)
virtual bool IncludeInLookups ()
 Returns include_in_lookups, used to create secret storage.
virtual bool Persistent () const

Additional Inherited Members

Static Public Attributes inherited from duckdb::SecretStorage
static const int64_t TEMPORARY_STORAGE_OFFSET = 10
 Default storage backend offsets.
static const int64_t LOCAL_FILE_STORAGE_OFFSET = 20
Protected Member Functions inherited from duckdb::CatalogSetSecretStorage
virtual void WriteSecret (const BaseSecret &secret, OnCreateConflict on_conflict)
 Callback called on Store to allow child classes to implement persistence.
virtual void RemoveSecret (const string &name, OnEntryNotFound on_entry_not_found)
CatalogTransaction GetTransactionOrDefault (optional_ptr< CatalogTransaction > transaction)
 Returns the CatalogTransaction in transaction if not set, return the System transaction.
Static Protected Member Functions inherited from duckdb::SecretStorage
static SecretMatch SelectBestMatch (SecretEntry &secret_entry, const string &path, int64_t offset, SecretMatch &current_best)
Protected Attributes inherited from duckdb::CatalogSetSecretStorage
unique_ptr< CatalogSet > secrets
 CatalogSet containing the secrets.
DatabaseInstance & db
 DB instance for accessing the system catalog transaction.
Protected Attributes inherited from duckdb::SecretStorage
string storage_name
 Name of the storage backend (e.g. temporary, file, etc).
const int64_t tie_break_offset
 Offset associated to this storage for tie-breaking secrets between storages.
bool persistent
 Whether entries in this storage will survive duckdb reboots.

Constructor & Destructor Documentation

◆ TemporarySecretStorage()

duckdb::TemporarySecretStorage::TemporarySecretStorage ( const string & name_p,
DatabaseInstance & db_p )
inline
177763 : CatalogSetSecretStorage(db_p, name_p, TEMPORARY_STORAGE_OFFSET) {
177764 secrets = make_uniq<CatalogSet>(Catalog::GetSystemCatalog(db));
177765 persistent = false;
177766 }
DatabaseInstance & db
DB instance for accessing the system catalog transaction.
Definition duckdb.cpp:177757
unique_ptr< CatalogSet > secrets
CatalogSet containing the secrets.
Definition duckdb.cpp:177755
static DUCKDB_API Catalog & GetSystemCatalog(ClientContext &context)
Get the SystemCatalog from the ClientContext.
Definition duckdb.cpp:7173
bool persistent
Whether entries in this storage will survive duckdb reboots.
Definition duckdb.cpp:177712
static const int64_t TEMPORARY_STORAGE_OFFSET
Default storage backend offsets.
Definition duckdb.cpp:177666

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