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

Public Types

using RETURN_TYPE = string

Static Public Member Functions

static void SetGlobal (DatabaseInstance *db, DBConfig &config, const Value &parameter)
static void ResetGlobal (DatabaseInstance *db, DBConfig &config)
static Value GetSetting (const ClientContext &context)

Static Public Attributes

static constexpr const char * Name = "disabled_filesystems"
static constexpr const char * Description = "Disable specific file systems preventing access (e.g. LocalFileSystem)"
static constexpr const char * InputType = "VARCHAR"

Member Function Documentation

◆ SetGlobal()

void duckdb::DisabledFilesystemsSetting::SetGlobal ( DatabaseInstance * db,
DBConfig & config,
const Value & parameter )
static
301989 {
301990 auto &db = GetDB<DisabledFilesystemsSetting>(db_p);
301991 auto &fs = FileSystem::GetFileSystem(db);
301992 auto list = StringUtil::Split(input.ToString(), ",");
301993 fs.SetDisabledFileSystems(list);
301994}
static DUCKDB_API vector< string > Split(const string &str, char delimiter)
Split the input string based on newline char.
Definition duckdb.cpp:109734
db

◆ ResetGlobal()

void duckdb::DisabledFilesystemsSetting::ResetGlobal ( DatabaseInstance * db,
DBConfig & config )
static
301996 {
301997 auto &db = GetDB<DisabledFilesystemsSetting>(db_p);
301998 auto &fs = FileSystem::GetFileSystem(db);
301999 fs.SetDisabledFileSystems(vector<string>());
302000}

◆ GetSetting()

Value duckdb::DisabledFilesystemsSetting::GetSetting ( const ClientContext & context)
static
302002 {
302003 return Value("");
302004}

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