Skip to content

Commit

Permalink
add argument comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nevermore3 committed Mar 23, 2022
1 parent 396b6f6 commit 6a3104a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/graph/executor/logic/ArgumentExecutor.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
#define GRAPH_EXECUTOR_LOGIC_ARGUMENTEXECUTOR_H

#include "graph/executor/Executor.h"

// only used in match scenarios
// indicates the variable to be used as an argument to the right-hand side of an Apply operator.
// E.g MATCH (n)-[]-(l), (l)-[]-(m) return n,l,m
// MATCH (n)-[]-(l) MATCH (l)-[]-(m) return n,l,m
namespace nebula {
namespace graph {
class ArgumentExecutor final : public Executor {
Expand Down
2 changes: 1 addition & 1 deletion src/graph/executor/query/TraverseExecutor.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "graph/executor/StorageAccessExecutor.h"
#include "graph/planner/plan/Query.h"
#include "interface/gen-cpp2/storage_types.h"
// Traverse only used in match statement
// only used in match scenarios
// invoke the getNeighbors interface, according to the number of times specified by the user,
// and assemble the result into paths
//
Expand Down

0 comments on commit 6a3104a

Please sign in to comment.