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

Public Types

using RETURN_TYPE = int64_t

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 = "progress_bar_time"
static constexpr const char * Description
static constexpr const char * InputType = "BIGINT"

Member Function Documentation

◆ SetLocal()

void duckdb::ProgressBarTimeSetting::SetLocal ( ClientContext & context,
const Value & parameter )
static
302807 {
302808 auto &config = ClientConfig::GetConfig(context);
302809 ProgressBar::SystemOverrideCheck(config);
302810 config.wait_time = input.GetValue<int32_t>();
302811 config.enable_progress_bar = true;
302812}
::int32_t int32_t

◆ ResetLocal()

void duckdb::ProgressBarTimeSetting::ResetLocal ( ClientContext & context)
static
302814 {
302815 auto &config = ClientConfig::GetConfig(context);
302816 ProgressBar::SystemOverrideCheck(config);
302817 config.wait_time = ClientConfig().wait_time;
302818 config.enable_progress_bar = ClientConfig().enable_progress_bar;
302819}

◆ GetSetting()

Value duckdb::ProgressBarTimeSetting::GetSetting ( const ClientContext & context)
static
302821 {
302822 return Value::BIGINT(ClientConfig::GetConfig(context).wait_time);
302823}
static DUCKDB_API Value BIGINT(int64_t value)
Create a bigint Value from a specified value.
Definition duckdb.cpp:132146

Member Data Documentation

◆ Description

const char* duckdb::ProgressBarTimeSetting::Description
staticconstexpr
Initial value:
=
"Sets the time (in milliseconds) how long a query needs to take before we start printing a progress bar"

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