Skip to content
Snippets Groups Projects
Select Git revision
22 results Searching

mixer_quirks.c

Blame
  • CreateUserExecutor.h 738 B
    /* 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_CREATEUSEREXECUTOR_H_
    #define EXECUTOR_ADMIN_CREATEUSEREXECUTOR_H_
    
    #include "executor/Executor.h"
    
    namespace nebula {
    namespace graph {
    
    class CreateUserExecutor final : public Executor {
    public:
        CreateUserExecutor(const PlanNode *node, QueryContext *qctx)
            : Executor("CreateUserExecutor", node, qctx) {}
    
        folly::Future<Status> execute() override;
    
    private:
        folly::Future<Status> createUser();
    };
    
    }   // namespace graph
    }   // namespace nebula
    
    #endif  // EXECUTOR_ADMIN_CREATEUSEREXECUTOR_H_