ClickHouse/dbms/include/DB/Core/ColumnWithNameAndType.h
2010-03-01 16:59:51 +00:00

28 lines
502 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#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