|
|
static constexpr const char * | Name = "progress_bar_time" |
| static constexpr const char * | Description |
|
static constexpr const char * | InputType = "BIGINT" |
◆ 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}
◆ 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()
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
◆ 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: