@@ -137,12 +137,14 @@ class MergeTreeIndexFactory : private boost::noncopyable
137137 std::unique_ptr<IMergeTreeIndex>(
138138 const NamesAndTypesList & columns,
139139 std::shared_ptr<ASTIndexDeclaration> node,
140- const Context & context)>;
140+ const Context & context,
141+ bool attach)>;
141142
142143 std::unique_ptr<IMergeTreeIndex> get (
143144 const NamesAndTypesList & columns,
144145 std::shared_ptr<ASTIndexDeclaration> node,
145- const Context & context) const ;
146+ const Context & context,
147+ bool attach) const ;
146148
147149 void registerIndex (const std::string & name, Creator creator);
148150
@@ -159,21 +161,25 @@ class MergeTreeIndexFactory : private boost::noncopyable
159161std::unique_ptr<IMergeTreeIndex> minmaxIndexCreator (
160162 const NamesAndTypesList & columns,
161163 std::shared_ptr<ASTIndexDeclaration> node,
162- const Context & context);
164+ const Context & context,
165+ bool attach);
163166
164167std::unique_ptr<IMergeTreeIndex> setIndexCreator (
165168 const NamesAndTypesList & columns,
166169 std::shared_ptr<ASTIndexDeclaration> node,
167- const Context & context);
170+ const Context & context,
171+ bool attach);
168172
169173std::unique_ptr<IMergeTreeIndex> bloomFilterIndexCreator (
170174 const NamesAndTypesList & columns,
171175 std::shared_ptr<ASTIndexDeclaration> node,
172- const Context & context);
176+ const Context & context,
177+ bool attach);
173178
174179std::unique_ptr<IMergeTreeIndex> bloomFilterIndexCreatorNew (
175180 const NamesAndTypesList & columns,
176181 std::shared_ptr<ASTIndexDeclaration> node,
177- const Context & context);
182+ const Context & context,
183+ bool attach);
178184
179185}
0 commit comments