Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglei1949 committed May 27, 2024
1 parent 39dfdfa commit ec9e0ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions flex/engines/graph_db/app/hqps_app.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ AppBase* get_app(const std::string& query_name, GraphDBSession& graph) {
return app;
}

bool HqpsAdhocApp::Query(GraphDBSession& graph, Decoder& input,
bool HQPSAdhocApp::Query(GraphDBSession& graph, Decoder& input,
Encoder& output) {
if (input.size() <= 4) {
LOG(ERROR) << "Invalid input for AbstractHQPSAdhocApp, input size: "
Expand All @@ -120,7 +120,7 @@ bool HqpsAdhocApp::Query(GraphDBSession& graph, Decoder& input,
return app_wrapper.app()->run(graph, input, output);
}

bool HqpsProcedureApp::Query(GraphDBSession& graph, Decoder& input,
bool HQPSProcedureApp::Query(GraphDBSession& graph, Decoder& input,
Encoder& output) {
std::string query_name;
std::vector<char> input_buffer;
Expand All @@ -140,11 +140,11 @@ bool HqpsProcedureApp::Query(GraphDBSession& graph, Decoder& input,

// GraphDB& db is not used in these functions
AppWrapper HQPSAdhocAppFactory::CreateApp(const GraphDB& db) {
return AppWrapper(new HqpsAdhocApp(), NULL);
return AppWrapper(new HQPSAdhocApp(), NULL);
}

AppWrapper HQPSProcedureAppFactory::CreateApp(const GraphDB& db) {
return AppWrapper(new HqpsProcedureApp(), NULL);
return AppWrapper(new HQPSProcedureApp(), NULL);
}

} // namespace gs
10 changes: 5 additions & 5 deletions flex/engines/graph_db/app/hqps_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
namespace gs {

/**
* @brief HqpsAdhocApp is a builtin, proxy app used to evaluate
* @brief HQPSAdhocApp is a builtin, proxy app used to evaluate
* adhoc query.
*/
class HqpsAdhocApp : public WriteAppBase {
class HQPSAdhocApp : public WriteAppBase {
public:
HqpsAdhocApp() {}
HQPSAdhocApp() {}

AppType type() const override { return AppType::kCypherAdhoc; }

Expand All @@ -38,9 +38,9 @@ class HqpsAdhocApp : public WriteAppBase {
* @brief HqpsWriteProcedureApp is a builtin, proxy app used to evaluate
* procedure query.
*/
class HqpsProcedureApp : public WriteAppBase {
class HQPSProcedureApp : public WriteAppBase {
public:
HqpsProcedureApp() {}
HQPSProcedureApp() {}
AppType type() const override { return AppType::kCypherProcedure; }

bool Query(GraphDBSession& graph, Decoder& input, Encoder& output) override;
Expand Down

0 comments on commit ec9e0ff

Please sign in to comment.