| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <DataTypes/DataTypeString.h> |
| 4 | #include <DataTypes/DataTypesNumber.h> |
| 5 | #include <Storages/System/IStorageSystemOneBlock.h> |
| 6 | #include <ext/shared_ptr_helper.h> |
| 7 | |
| 8 | namespace DB |
| 9 | { |
| 10 | class StorageSystemAggregateFunctionCombinators : public ext::shared_ptr_helper<StorageSystemAggregateFunctionCombinators>, |
| 11 | public IStorageSystemOneBlock<StorageSystemAggregateFunctionCombinators> |
| 12 | { |
| 13 | friend struct ext::shared_ptr_helper<StorageSystemAggregateFunctionCombinators>; |
| 14 | protected: |
| 15 | void fillData(MutableColumns & res_columns, const Context & context, const SelectQueryInfo & query_info) const override; |
| 16 | |
| 17 | using IStorageSystemOneBlock::IStorageSystemOneBlock; |
| 18 | public: |
| 19 | |
| 20 | std::string getName() const override |
| 21 | { |
| 22 | return "SystemAggregateFunctionCombinators"; |
| 23 | } |
| 24 | |
| 25 | static NamesAndTypesList getNamesAndTypes(); |
| 26 | }; |
| 27 | } |
| 28 |