blob: 7f17aa31e37378bd94fd92dfaaa913a3da876335 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#pragma once
#include <Interpreters/IInterpreter.h>
#include <Parsers/IAST_fwd.h>
namespace DB
{
/** Allows you do lightweight deletion on a MergeTree family table.
*/
class InterpreterDeleteQuery : public IInterpreter, WithContext
{
public:
InterpreterDeleteQuery(const ASTPtr & query_ptr_, ContextPtr context_);
BlockIO execute() override;
bool supportsTransactions() const override { return true; }
private:
ASTPtr query_ptr;
};
}
|