/* Copyright (c) 2020 vesoft inc. All rights reserved.
 *
 * This source code is licensed under Apache 2.0 License,
 * attached with Common Clause Condition 1.0, found in the LICENSES directory.
 */

#ifndef EXECUTOR_ADMIN_DROPUSEREXECUTOR_H_
#define EXECUTOR_ADMIN_DROPUSEREXECUTOR_H_

#include "executor/Executor.h"

namespace nebula {
namespace graph {

class DropUserExecutor final : public Executor {
public:
    DropUserExecutor(const PlanNode *node, QueryContext *ectx)
        : Executor("DropUserExecutor", node, ectx) {}

    folly::Future<Status> execute() override;

private:
    folly::Future<Status> dropUser();
};

}   // namespace graph
}   // namespace nebula

#endif  // EXECUTOR_ADMIN_DROPUSEREXECUTOR_H_
