| 81 | class LogSource final : public ISource |
| 82 | { |
| 83 | static Block getHeader(const NamesAndTypesList & physical, const NamesAndTypesList & virtuals) |
| 84 | { |
| 85 | Block res; |
| 86 | for (const auto & name_type : physical) |
| 87 | res.insert({name_type.type->createColumn(), name_type.type, name_type.name}); |
| 88 | for (const auto & name_type : virtuals) |
| 89 | res.insert({name_type.type->createColumn(), name_type.type, name_type.name}); |
| 90 | return res; |
| 91 | } |
| 92 | |
| 93 | public: |
| 94 | LogSource( |