mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-22 16:30:49 +00:00
28 lines
502 B
C++
28 lines
502 B
C++
#ifndef DBMS_CORE_COLUMN_WITH_NAME_AND_TYPE_H
|
||
#define DBMS_CORE_COLUMN_WITH_NAME_AND_TYPE_H
|
||
|
||
#include <Poco/SharedPtr.h>
|
||
|
||
#include <DB/Core/Column.h>
|
||
#include <DB/ColumnTypes/IColumnType.h>
|
||
|
||
|
||
namespace DB
|
||
{
|
||
|
||
using Poco::SharedPtr;
|
||
|
||
/** Тип данных для представления столбца вместе с его типом и именем в оперативке.
|
||
*/
|
||
|
||
struct ColumnWithNameAndType
|
||
{
|
||
SharedPtr<Column> column;
|
||
SharedPtr<IColumnType> type;
|
||
String name;
|
||
};
|
||
|
||
}
|
||
|
||
#endif
|