ClickHouse/dbms/src/Storages/System/StorageSystemAggregateFunctionCombinators.h

32 lines
907 B
C++
Raw Normal View History

#pragma once
#include <DataTypes/DataTypeString.h>
#include <DataTypes/DataTypesNumber.h>
#include <Storages/System/IStorageSystemOneBlock.h>
#include <ext/shared_ptr_helper.h>
namespace DB
{
class StorageSystemAggregateFunctionCombinators : public ext::shared_ptr_helper<StorageSystemAggregateFunctionCombinators>,
public IStorageSystemOneBlock<StorageSystemAggregateFunctionCombinators>
{
protected:
void fillData(MutableColumns & res_columns) const override;
public:
using IStorageSystemOneBlock::IStorageSystemOneBlock;
std::string getName() const override
{
return "SystemAggregateFunctionCombinators";
}
static NamesAndTypesList getNamesAndTypes()
{
return {
{"name", std::make_shared<DataTypeString>()},
{"is_internal", std::make_shared<DataTypeUInt8>()},
};
}
};
}