| 21 | } |
| 22 | |
| 23 | std::vector<String> ASTStatisticsDeclaration::getColumnNames() const |
| 24 | { |
| 25 | std::vector<String> result; |
| 26 | result.reserve(columns->children.size()); |
| 27 | for (const ASTPtr & column_ast : columns->children) |
| 28 | { |
| 29 | result.push_back(column_ast->as<ASTIdentifier &>().name()); |
| 30 | } |
| 31 | return result; |
| 32 | |
| 33 | } |
| 34 | |
| 35 | std::vector<String> ASTStatisticsDeclaration::getTypeNames() const |
| 36 | { |
no test coverage detected