|
|
static constexpr const char * | Name = "enable_progress_bar" |
| static constexpr const char * | Description |
|
static constexpr const char * | InputType = "BOOLEAN" |
◆ SetLocal()
| void duckdb::EnableProgressBarSetting::SetLocal |
( |
ClientContext & | context, |
|
|
const Value & | parameter ) |
|
static |
301255 {
301256 if (!OnLocalSet(context, input)) {
301257 return;
301258 }
301259 auto &config = ClientConfig::GetConfig(context);
301260 config.enable_progress_bar = input.GetValue<bool>();
301261}
◆ ResetLocal()
| void duckdb::EnableProgressBarSetting::ResetLocal |
( |
ClientContext & | context | ) |
|
|
static |
301263 {
301264 if (!OnLocalReset(context)) {
301265 return;
301266 }
301267 ClientConfig::GetConfig(context).enable_progress_bar = ClientConfig().enable_progress_bar;
301268}
◆ OnLocalSet()
| bool duckdb::EnableProgressBarSetting::OnLocalSet |
( |
ClientContext & | context, |
|
|
const Value & | input ) |
|
static |
302426 {
302427 auto &config = ClientConfig::GetConfig(context);
302428 ProgressBar::SystemOverrideCheck(config);
302429 return true;
302430}
◆ OnLocalReset()
| bool duckdb::EnableProgressBarSetting::OnLocalReset |
( |
ClientContext & | context | ) |
|
|
static |
302432 {
302433 auto &config = ClientConfig::GetConfig(context);
302434 ProgressBar::SystemOverrideCheck(config);
302435 return true;
302436}
◆ GetSetting()
301270 {
301271 auto &config = ClientConfig::GetConfig(context);
301273}
static DUCKDB_API Value BOOLEAN(bool value)
Create a boolean Value from a specified value.
Definition duckdb.cpp:132118
◆ Description
| const char* duckdb::EnableProgressBarSetting::Description |
|
staticconstexpr |
Initial value:=
"Enables the progress bar, printing progress to the terminal for long queries"
The documentation for this struct was generated from the following file: