milvus/cpp/src/db/scheduler/task/DeleteTask.h
groot e050719b2b delete table issue
Former-commit-id: d1a8e64086c11081917058623d344ac3c567a74b
2019-06-20 16:05:44 +08:00

30 lines
766 B
C++

/*******************************************************************************
* Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited.
* Proprietary and confidential.
******************************************************************************/
#pragma once
#include "IScheduleTask.h"
#include "db/scheduler/context/DeleteContext.h"
namespace zilliz {
namespace milvus {
namespace engine {
class DeleteTask : public IScheduleTask {
public:
DeleteTask(const DeleteContextPtr& context);
virtual std::shared_ptr<IScheduleTask> Execute() override;
private:
DeleteContextPtr context_;
};
using DeleteTaskPtr = std::shared_ptr<DeleteTask>;
}
}
}