Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
nebula-bots committed Aug 12, 2021
1 parent a2735f4 commit fceda46
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 21 deletions.
1 change: 1 addition & 0 deletions src/common/plugin/fulltext/FTStorageAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#define COMMON_PLUGIN_FULLTEXT_S_ADAPTER_H_

#include "common/base/Base.h"
#include "common/base/StatusOr.h"
#include "common/plugin/fulltext/FTUtils.h"

namespace nebula {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

#include "common/plugin/fulltext/elasticsearch/ESStorageAdapter.h"

#include <common/plugin/fulltext/FTUtils.h>

#include "common/plugin/fulltext/FTUtils.h"
#include "common/process/ProcessUtils.h"

namespace nebula {
Expand Down
3 changes: 2 additions & 1 deletion src/common/plugin/fulltext/elasticsearch/ESStorageAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
#ifndef NEBULA_PLUGIN_ESSTORAGEADAPTER_H
#define NEBULA_PLUGIN_ESSTORAGEADAPTER_H

#include <gtest/gtest.h>
#include <gtest/gtest_prod.h>

#include "common/base/StatusOr.h"
#include "common/plugin/fulltext/FTStorageAdapter.h"

namespace nebula {
Expand Down
1 change: 1 addition & 0 deletions src/common/utils/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#define COMMON_UTILS_UTILS_H_

#include "common/base/Base.h"
#include "common/datatypes/HostAddr.h"

namespace nebula {
class Utils final {
Expand Down
3 changes: 3 additions & 0 deletions src/graph/planner/match/SegmentsConnectStrategy.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
namespace nebula {
namespace graph {

class PlanNode;
class QueryContext;

class SegmentsConnectStrategy {
public:
explicit SegmentsConnectStrategy(QueryContext* qctx) : qctx_(qctx) {}
Expand Down
21 changes: 3 additions & 18 deletions src/meta/upgrade/MetaDataUpgrade.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/

#ifndef TOOLS_METADATAUPGRADETOOL_METADATAUPGRADE_H_
#define TOOLS_METADATAUPGRADETOOL_METADATAUPGRADE_H_
#pragma once

#include <rocksdb/db.h>

#include "common/base/Base.h"
#include "common/base/Status.h"
#include "interface/gen-cpp2/meta_types.h"
#include "kvstore/KVStore.h"
#include "meta/processors/Common.h"
#include "meta/upgrade/v1/gen-cpp2/meta_types.h"

namespace nebula {
Expand All @@ -24,37 +25,23 @@ class MetaDataUpgrade final {
~MetaDataUpgrade() = default;

Status rewriteHosts(const folly::StringPiece &key, const folly::StringPiece &val);

Status rewriteSpaces(const folly::StringPiece &key, const folly::StringPiece &val);

Status rewriteParts(const folly::StringPiece &key, const folly::StringPiece &val);

Status rewriteLeaders(const folly::StringPiece &key, const folly::StringPiece &val);

Status rewriteSchemas(const folly::StringPiece &key, const folly::StringPiece &val);

Status rewriteIndexes(const folly::StringPiece &key, const folly::StringPiece &val);

Status rewriteConfigs(const folly::StringPiece &key, const folly::StringPiece &val);

Status rewriteJobDesc(const folly::StringPiece &key, const folly::StringPiece &val);

Status deleteKeyVal(const folly::StringPiece &key);

void printHost(const folly::StringPiece &key, const folly::StringPiece &val);

void printSpaces(const folly::StringPiece &val);

void printParts(const folly::StringPiece &key, const folly::StringPiece &val);

void printLeaders(const folly::StringPiece &key);

void printSchemas(const folly::StringPiece &val);

void printIndexes(const folly::StringPiece &val);

void printConfigs(const folly::StringPiece &key, const folly::StringPiece &val);

void printJobDesc(const folly::StringPiece &key, const folly::StringPiece &val);

private:
Expand Down Expand Up @@ -113,5 +100,3 @@ class MetaDataUpgrade final {

} // namespace meta
} // namespace nebula

#endif // TOOLS_METADATAUPGRADETOOL_METADATAUPGRADE_H_
1 change: 1 addition & 0 deletions src/storage/exec/IndexEdgeNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#define STORAGE_EXEC_INDEXEDGENODE_H_

#include "common/base/Base.h"
#include "storage/exec/IndexScanNode.h"
#include "storage/exec/RelNode.h"

namespace nebula {
Expand Down
3 changes: 3 additions & 0 deletions src/storage/exec/IndexFilterNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
#include "common/base/Base.h"
#include "common/context/ExpressionContext.h"
#include "common/expression/Expression.h"
#include "storage/exec/IndexEdgeNode.h"
#include "storage/exec/IndexScanNode.h"
#include "storage/exec/IndexVertexNode.h"
#include "storage/exec/RelNode.h"

namespace nebula {
Expand Down
4 changes: 4 additions & 0 deletions src/storage/exec/IndexOutputNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
#define STORAGE_EXEC_INDEXOUTPUTNODE_H_

#include "common/base/Base.h"
#include "storage/exec/IndexEdgeNode.h"
#include "storage/exec/IndexFilterNode.h"
#include "storage/exec/IndexScanNode.h"
#include "storage/exec/IndexVertexNode.h"
#include "storage/exec/RelNode.h"

namespace nebula {
Expand Down

0 comments on commit fceda46

Please sign in to comment.