patch 4.0

This commit is contained in:
wangzelin.wzl
2022-10-24 10:34:53 +08:00
parent 4ad6e00ec3
commit 93a1074b0c
10533 changed files with 2588271 additions and 2299373 deletions

View File

@ -16,28 +16,31 @@
#include "share/ob_define.h"
#include "sql/plan_cache/ob_cache_object.h"
namespace oceanbase {
namespace sql {
namespace oceanbase
{
namespace sql
{
class ObPhysicalPlan;
class ObExecContext;
class ObRemoteTask;
class ObRemoteScheduler {
class ObRemoteScheduler
{
public:
ObRemoteScheduler();
virtual ~ObRemoteScheduler();
int schedule(ObExecContext& ctx, ObPhysicalPlan* phy_plan);
int async_execute_with_sql(ObExecContext& ctx, ObPhysicalPlan*);
int schedule(ObExecContext &ctx, ObPhysicalPlan *phy_plan);
private:
int execute_with_plan(ObExecContext& ctx, ObPhysicalPlan* phy_plan);
int execute_with_sql(ObExecContext& ctx, ObPhysicalPlan* phy_plan);
int build_remote_task(ObExecContext& ctx, ObRemoteTask& remote_task, const DependenyTableStore& dependency_tables);
int execute_with_plan(ObExecContext &ctx, ObPhysicalPlan *phy_plan);
int execute_with_sql(ObExecContext &ctx, ObPhysicalPlan *phy_plan);
int build_remote_task(ObExecContext &ctx,
ObRemoteTask &remote_task,
const DependenyTableStore &dependency_tables);
// variable
// functions
// disallow copy
DISALLOW_COPY_AND_ASSIGN(ObRemoteScheduler);
};
} // namespace sql
} // namespace oceanbase
}
}
#endif /* OCEANBASE_SQL_EXECUTOR_REMOTE_SCHEDULER_ */
//// end of header file