43 lines
1.4 KiB
C++
43 lines
1.4 KiB
C++
/**
|
|
* Copyright (c) 2021 OceanBase
|
|
* OceanBase CE is licensed under Mulan PubL v2.
|
|
* You can use this software according to the terms and conditions of the Mulan PubL v2.
|
|
* You may obtain a copy of Mulan PubL v2 at:
|
|
* http://license.coscl.org.cn/MulanPubL-2.0
|
|
* 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 PubL v2 for more details.
|
|
*/
|
|
|
|
#ifndef OCEANBASE_SRC_SQL_RESOLVER_DDL_OB_DROP_PACKAGE_STMT_H_
|
|
#define OCEANBASE_SRC_SQL_RESOLVER_DDL_OB_DROP_PACKAGE_STMT_H_
|
|
|
|
#include "share/ob_rpc_struct.h"
|
|
#include "sql/resolver/ddl/ob_ddl_stmt.h"
|
|
namespace oceanbase
|
|
{
|
|
namespace sql
|
|
{
|
|
class ObDropPackageStmt : public ObDDLStmt
|
|
{
|
|
public:
|
|
explicit ObDropPackageStmt(common::ObIAllocator *name_pool)
|
|
: ObDDLStmt(name_pool, stmt::T_DROP_PACKAGE),
|
|
drop_package_arg_() {}
|
|
ObDropPackageStmt()
|
|
: ObDDLStmt(stmt::T_DROP_PACKAGE),
|
|
drop_package_arg_() {}
|
|
virtual ~ObDropPackageStmt() {}
|
|
obrpc::ObDropPackageArg &get_drop_package_arg() { return drop_package_arg_; }
|
|
virtual obrpc::ObDDLArg &get_ddl_arg() { return drop_package_arg_; }
|
|
private:
|
|
DISALLOW_COPY_AND_ASSIGN(ObDropPackageStmt);
|
|
|
|
obrpc::ObDropPackageArg drop_package_arg_;
|
|
};
|
|
} //namespace sql
|
|
} //namespace oceanbase
|
|
|
|
#endif /* OCEANBASE_SRC_SQL_RESOLVER_DDL_OB_DROP_PACKAGE_STMT_H_ */
|