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::SearchPathSetting Struct Reference

Public Types

using RETURN_TYPE = string

Static Public Member Functions

static void SetLocal (ClientContext &context, const Value &parameter)
static void ResetLocal (ClientContext &context)
static Value GetSetting (const ClientContext &context)

Static Public Attributes

static constexpr const char * Name = "search_path"
static constexpr const char * Description
static constexpr const char * InputType = "VARCHAR"

Member Function Documentation

◆ SetLocal()

void duckdb::SearchPathSetting::SetLocal ( ClientContext & context,
const Value & parameter )
static
302848 {
302849 auto parameter = input.ToString();
302850 auto &client_data = ClientData::Get(context);
302851 client_data.catalog_search_path->Set(CatalogSearchEntry::ParseList(parameter), CatalogSetPathType::SET_SCHEMAS);
302852}
DUCKDB_API string ToString() const
Convert this value to a string.
Definition duckdb.cpp:133318

◆ ResetLocal()

void duckdb::SearchPathSetting::ResetLocal ( ClientContext & context)
static
302854 {
302855 // FIXME: catalog_search_path is controlled by both SchemaSetting and SearchPathSetting
302856 auto &client_data = ClientData::Get(context);
302857 client_data.catalog_search_path->Reset();
302858}

◆ GetSetting()

Value duckdb::SearchPathSetting::GetSetting ( const ClientContext & context)
static
302860 {
302861 auto &client_data = ClientData::Get(context);
302862 auto &set_paths = client_data.catalog_search_path->GetSetPaths();
302863 return Value(CatalogSearchEntry::ListToString(set_paths));
302864}

Member Data Documentation

◆ Description

const char* duckdb::SearchPathSetting::Description
staticconstexpr
Initial value:
=
"Sets the default catalog search path as a comma-separated list of values"

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