mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Move methods to .cpp
This commit is contained in:
parent
fce3a8cafc
commit
e9cf92245f
@ -342,6 +342,19 @@ IMergeTreeDataPart::~IMergeTreeDataPart()
|
||||
decrementTypeMetric(part_type);
|
||||
}
|
||||
|
||||
|
||||
const IMergeTreeDataPart::Index & IMergeTreeDataPart::getIndex() const
|
||||
{
|
||||
return index;
|
||||
}
|
||||
|
||||
|
||||
void IMergeTreeDataPart::setIndex(Columns index_)
|
||||
{
|
||||
index = std::move(index_);
|
||||
}
|
||||
|
||||
|
||||
void IMergeTreeDataPart::setName(const String & new_name)
|
||||
{
|
||||
mutable_name = new_name;
|
||||
|
@ -360,8 +360,8 @@ public:
|
||||
/// Version of part metadata (columns, pk and so on). Managed properly only for replicated merge tree.
|
||||
int32_t metadata_version;
|
||||
|
||||
const Index & getIndex() const { return index; }
|
||||
void setIndex(Columns index_) { index = std::move(index_); }
|
||||
const Index & getIndex() const;
|
||||
void setIndex(Columns index_);
|
||||
|
||||
/// For data in RAM ('index')
|
||||
UInt64 getIndexSizeInBytes() const;
|
||||
|
Loading…
Reference in New Issue
Block a user