forked from vesoft-inc/nebula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFindExecutor.h
40 lines (28 loc) · 906 Bytes
/
FindExecutor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* Copyright (c) 2019 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 GRAPH_FINDEXECUTOR_H_
#define GRAPH_FINDEXECUTOR_H_
#include "base/Base.h"
#include "graph/TraverseExecutor.h"
namespace nebula {
namespace graph {
class FindExecutor final : public TraverseExecutor {
public:
FindExecutor(Sentence *sentence, ExecutionContext *ectx);
const char* name() const override {
return "FindExecutor";
}
Status MUST_USE_RESULT prepare() override;
void feedResult(std::unique_ptr<InterimResult> result) override {
UNUSED(result);
}
void execute() override {}
private:
FindSentence *sentence_{nullptr};
};
} // namespace graph
} // namespace nebula
#endif // GRAPH_FINDEXECUTOR_H_