MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
载入中...
搜索中...
未找到
predicate_rewrite.h
1/* Copyright (c) 2021 OceanBase and/or its affiliates. All rights reserved.
2miniob is licensed under Mulan PSL v2.
3You can use this software according to the terms and conditions of the Mulan PSL v2.
4You may obtain a copy of Mulan PSL v2 at:
5 http://license.coscl.org.cn/MulanPSL2
6THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
7EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
8MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
9See the Mulan PSL v2 for more details. */
10
11//
12// Created by Wangyunlai on 2022/12/29.
13//
14
15#pragma once
16
17#include "sql/optimizer/rewrite_rule.h"
18
25{
26public:
27 PredicateRewriteRule() = default;
28 virtual ~PredicateRewriteRule() = default;
29
30 RC rewrite(std::unique_ptr<LogicalOperator> &oper, bool &change_made) override;
31};
谓词重写规则
Definition: predicate_rewrite.h:25
逻辑计划的重写规则
Definition: rewrite_rule.h:29