Returns alphabetically sorted list of aggregate functions available in Bolt, excluding compaion functions.
| 335 | /// Returns alphabetically sorted list of aggregate functions available in |
| 336 | /// Bolt, excluding compaion functions. |
| 337 | std::vector<std::string> getSortedAggregateNames() { |
| 338 | std::vector<std::string> names; |
| 339 | exec::aggregateFunctions().withRLock([&](const auto& functions) { |
| 340 | names.reserve(functions.size()); |
| 341 | for (const auto& entry : functions) { |
| 342 | if (!isCompanionFunctionName(entry.first, functions)) { |
| 343 | names.push_back(entry.first); |
| 344 | } |
| 345 | } |
| 346 | }); |
| 347 | std::sort(names.begin(), names.end()); |
| 348 | return names; |
| 349 | } |
| 350 | |
| 351 | /// Returns alphabetically sorted list of window functions available in Bolt, |
| 352 | /// excluding companion functions. |
no test coverage detected