patch 4.0
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user