desc_table_executor.h 853 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11
/* Copyright (c) 2021 OceanBase and/or its affiliates. All rights reserved.
miniob is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
         http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */

//
羽飞's avatar
羽飞 已提交
12
// Created by Wangyunlai on 2023/6/14.
13 14
//

羽飞's avatar
羽飞 已提交
15
#pragma once
16

羽飞's avatar
羽飞 已提交
17
#include "common/rc.h"
18

羽飞's avatar
羽飞 已提交
19 20
class SQLStageEvent;

羽飞's avatar
羽飞 已提交
21 22 23 24
/**
 * @brief 描述表的执行器
 * @ingroup Executor
 */
羽飞's avatar
羽飞 已提交
25
class DescTableExecutor
26
{
羽飞's avatar
羽飞 已提交
27 28 29 30 31 32
public:
  DescTableExecutor() = default;
  virtual ~DescTableExecutor() = default;

  RC execute(SQLStageEvent *sql_event);
};