| 658 | } |
| 659 | |
| 660 | void DataProcessorService::clearAllTransforms() { |
| 661 | std::vector<std::string> keys; |
| 662 | keys.reserve(transform_recipes_.size()); |
| 663 | for (const auto& [key, recipe] : transform_recipes_) { |
| 664 | (void)recipe; |
| 665 | keys.push_back(key); |
| 666 | } |
| 667 | for (const auto& key : keys) { |
| 668 | (void)removeTransform(key); |
| 669 | } |
| 670 | } |
| 671 | |
| 672 | void DataProcessorService::clearTransformsForDataset(DatasetId dataset_id) { |
| 673 | std::vector<std::string> keys; |