ClickHouse/dbms/src/Storages/StorageInMemoryMetadata.h
2019-12-26 21:17:05 +03:00

24 lines
539 B
C++

#pragma once
#include <Storages/ColumnsDescription.h>
#include <Storages/IndicesDescription.h>
#include <Storages/ConstraintsDescription.h>
#include <Common/SettingsChanges.h>
#include <Parsers/IAST_fwd.h>
namespace DB
{
struct StorageInMemoryMetadata
{
ColumnsDescription columns;
IndicesDescription indices;
ConstraintsDescription constraints;
ASTPtr order_by_expression = nullptr;
ASTPtr primary_key_expression = nullptr;
ASTPtr ttl_for_table_expression = nullptr;
SettingsChanges settings_changes;
};
}