38 void setDisplay(std::shared_ptr<ProgressBarDisplay> progressBarDipslay);
40 std::shared_ptr<ProgressBarDisplay>
getDisplay() {
return display; }
45 void resetProgressBar(uint64_t queryID);
47 void updateDisplay(uint64_t queryID,
double curPipelineProgress);
49 bool shouldUpdateProgress()
const;
52 uint32_t numPipelines;
53 uint32_t numPipelinesFinished;
54 std::mutex progressBarLock;
56 std::unique_ptr<TimeMetric> queryTimer;
57 uint64_t showProgressAfter;
58 std::shared_ptr<ProgressBarDisplay> display;
Progress bar for tracking the progress of a pipeline. Prints the progress of each query pipeline and ...
Definition progress_bar.h:18
bool getProgressBarPrinting() const
Definition progress_bar.h:42
void updateProgress(uint64_t queryID, double curPipelineProgress)
void endProgress(uint64_t queryID)
std::shared_ptr< ProgressBarDisplay > getDisplay()
Definition progress_bar.h:40
void startProgress(uint64_t queryID)
void setShowProgressAfter(uint64_t showProgressAfter)
static std::shared_ptr< ProgressBarDisplay > DefaultProgressBarDisplay()
void setDisplay(std::shared_ptr< ProgressBarDisplay > progressBarDipslay)
void toggleProgressBarPrinting(bool enable)
void finishPipeline(uint64_t queryID)
std::unique_ptr< ProgressBarDisplay >(* progress_bar_display_create_func_t)()
Definition progress_bar.h:12
Definition alter_type.h:5