◆ ExecutionBudget()
| duckdb::ExecutionBudget::ExecutionBudget |
( |
idx_t | maximum | ) |
|
|
inlineexplicit |
328190 : processed(0), maximum_to_process(maximum) {
328191 }
◆ Next()
| bool duckdb::ExecutionBudget::Next |
( |
| ) |
|
|
inline |
328194 {
328195 if (IsDepleted()) {
328196 return false;
328197 }
328198 processed++;
328199 return true;
328200 }
◆ IsDepleted()
| bool duckdb::ExecutionBudget::IsDepleted |
( |
| ) |
const |
|
inline |
328201 {
328202 return processed >= maximum_to_process;
328203 }
The documentation for this class was generated from the following file: