1 | //===----------------------------------------------------------------------===// |
2 | // DuckDB |
3 | // |
4 | // duckdb/parallel/pipeline_complete_event.hpp |
5 | // |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #pragma once |
10 | |
11 | #include "duckdb/parallel/event.hpp" |
12 | |
13 | namespace duckdb { |
14 | class Executor; |
15 | |
16 | class PipelineCompleteEvent : public Event { |
17 | public: |
18 | PipelineCompleteEvent(Executor &executor, bool complete_pipeline_p); |
19 | |
20 | bool complete_pipeline; |
21 | |
22 | public: |
23 | void Schedule() override; |
24 | void FinalizeFinish() override; |
25 | }; |
26 | |
27 | } // namespace duckdb |
28 | |