From 78bc9bb1eb3cb109655d6c032828dc1f67743b47 Mon Sep 17 00:00:00 2001 From: caton-hpg <87342612+caton-hpg@users.noreply.github.com> Date: Fri, 26 Apr 2024 14:27:59 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20vesoft-i?= =?UTF-8?q?nc/nebula-cpp@03a5067f745f5b5e920383a4e77cca83bae0e07f=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- master/d1/dd1/StorageClient_8h_source.html | 110 +++++++++--------- .../d4/d70/classnebula_1_1StorageClient.html | 18 +-- master/d4/d70/classnebula_1_1StorageClient.js | 6 +- .../classnebula_1_1StorageClient-members.html | 6 +- master/navtreeindex1.js | 6 +- 5 files changed, 72 insertions(+), 74 deletions(-) diff --git a/master/d1/dd1/StorageClient_8h_source.html b/master/d1/dd1/StorageClient_8h_source.html index c2b8cf7..4d7b503 100644 --- a/master/d1/dd1/StorageClient_8h_source.html +++ b/master/d1/dd1/StorageClient_8h_source.html @@ -152,66 +152,64 @@
64 
65  public:
66  explicit StorageClient(const std::vector<std::string>& metaAddrs,
-
67  const MConfig& mConfig = MConfig{},
-
68  const SConfig& sConfig = SConfig{});
-
69 
-
70  ~StorageClient();
+
67  const std::string& user = "",
+
68  const std::string& password = "",
+
69  const MConfig& mConfig = MConfig{},
+
70  const SConfig& sConfig = SConfig{});
71 
-
72  std::vector<PartitionID> getParts(const std::string& spaceName);
+
72  ~StorageClient();
73 
-
74  ScanEdgeIter scanEdgeWithPart(std::string spaceName,
-
75  int32_t partID,
-
76  std::string edgeName,
-
77  std::vector<std::string> propNames,
-
78  int64_t limit = DEFAULT_LIMIT,
-
79  int64_t startTime = DEFAULT_START_TIME,
-
80  int64_t endTime = DEFAULT_END_TIME,
-
81  std::string filter = "",
-
82  bool onlyLatestVersion = false,
-
83  bool enableReadFromFollower = true,
-
84  bool needAuth = false,
-
85  const std::string& username = "",
-
86  const std::string& password = "");
-
87 
-
88  ScanVertexIter scanVertexWithPart(
-
89  std::string spaceName,
-
90  int32_t partID,
-
91  // tag name -> prop names
-
92  std::unordered_map<std::string, std::vector<std::string>> tagProps,
-
93  int64_t limit = DEFAULT_LIMIT,
-
94  int64_t startTime = DEFAULT_START_TIME,
-
95  int64_t endTime = DEFAULT_END_TIME,
-
96  std::string filter = "",
-
97  bool onlyLatestVersion = false,
-
98  bool enableReadFromFollower = true,
-
99  bool needAuth = false,
-
100  const std::string& username = "",
-
101  const std::string& password = "");
+
74  std::vector<PartitionID> getParts(const std::string& spaceName);
+
75 
+
76  ScanEdgeIter scanEdgeWithPart(std::string spaceName,
+
77  int32_t partID,
+
78  std::string edgeName,
+
79  std::vector<std::string> propNames,
+
80  int64_t limit = DEFAULT_LIMIT,
+
81  int64_t startTime = DEFAULT_START_TIME,
+
82  int64_t endTime = DEFAULT_END_TIME,
+
83  std::string filter = "",
+
84  bool onlyLatestVersion = false,
+
85  bool enableReadFromFollower = true);
+
86 
+
87  ScanVertexIter scanVertexWithPart(
+
88  std::string spaceName,
+
89  int32_t partID,
+
90  // tag name -> prop names
+
91  std::unordered_map<std::string, std::vector<std::string>> tagProps,
+
92  int64_t limit = DEFAULT_LIMIT,
+
93  int64_t startTime = DEFAULT_START_TIME,
+
94  int64_t endTime = DEFAULT_END_TIME,
+
95  std::string filter = "",
+
96  bool onlyLatestVersion = false,
+
97  bool enableReadFromFollower = true);
+
98 
+
99  MetaClient* getMetaClient() {
+
100  return mClient_.get();
+
101  }
102 
-
103  MetaClient* getMetaClient() {
-
104  return mClient_.get();
-
105  }
+
103  private:
+
104  std::pair<::nebula::ErrorCode, storage::cpp2::ScanResponse> doScanEdge(
+
105  const storage::cpp2::ScanEdgeRequest& req);
106 
-
107  private:
-
108  std::pair<::nebula::ErrorCode, storage::cpp2::ScanResponse> doScanEdge(
-
109  const storage::cpp2::ScanEdgeRequest& req);
-
110 
-
111  std::pair<::nebula::ErrorCode, storage::cpp2::ScanResponse> doScanVertex(
-
112  const storage::cpp2::ScanVertexRequest& req);
-
113 
-
114  template <typename Request, typename RemoteFunc, typename Response>
-
115  void getResponse(std::pair<HostAddr, Request>&& request,
-
116  RemoteFunc&& remoteFunc,
-
117  folly::Promise<std::pair<::nebula::ErrorCode, Response>> pro);
-
118 
-
119  std::unique_ptr<MetaClient> mClient_;
-
120  SConfig sConfig_;
-
121  std::shared_ptr<folly::IOThreadPoolExecutor> ioExecutor_;
-
122  std::shared_ptr<thrift::ThriftClientManager<storage::cpp2::GraphStorageServiceAsyncClient>>
-
123  clientsMan_;
-
124 };
-
125 
-
126 } // namespace nebula
+
107  std::pair<::nebula::ErrorCode, storage::cpp2::ScanResponse> doScanVertex(
+
108  const storage::cpp2::ScanVertexRequest& req);
+
109 
+
110  template <typename Request, typename RemoteFunc, typename Response>
+
111  void getResponse(std::pair<HostAddr, Request>&& request,
+
112  RemoteFunc&& remoteFunc,
+
113  folly::Promise<std::pair<::nebula::ErrorCode, Response>> pro);
+
114 
+
115  std::string user_;
+
116  std::string password_;
+
117  std::unique_ptr<MetaClient> mClient_;
+
118  SConfig sConfig_;
+
119  std::shared_ptr<folly::IOThreadPoolExecutor> ioExecutor_;
+
120  std::shared_ptr<thrift::ThriftClientManager<storage::cpp2::GraphStorageServiceAsyncClient>>
+
121  clientsMan_;
+
122 };
+
123 
+
124 } // namespace nebula
folly::Promise
Definition: MetaClient.h:30
nebula::MetaClient
Definition: MetaClient.h:68
nebula::StorageClient
Definition: StorageClient.h:61
diff --git a/master/d4/d70/classnebula_1_1StorageClient.html b/master/d4/d70/classnebula_1_1StorageClient.html index e88ac5f..39f0f67 100644 --- a/master/d4/d70/classnebula_1_1StorageClient.html +++ b/master/d4/d70/classnebula_1_1StorageClient.html @@ -93,18 +93,18 @@ - - + + - - - - + + + + diff --git a/master/d4/d70/classnebula_1_1StorageClient.js b/master/d4/d70/classnebula_1_1StorageClient.js index c893753..091d8cf 100644 --- a/master/d4/d70/classnebula_1_1StorageClient.js +++ b/master/d4/d70/classnebula_1_1StorageClient.js @@ -1,11 +1,11 @@ var classnebula_1_1StorageClient = [ - [ "StorageClient", "d4/d70/classnebula_1_1StorageClient.html#a3121b08cf7ab21f3bf5c7d50f0452d5a", null ], + [ "StorageClient", "d4/d70/classnebula_1_1StorageClient.html#a6045d00100fc56262be69bd1881afe71", null ], [ "~StorageClient", "d4/d70/classnebula_1_1StorageClient.html#a73185ee395567717a25f2e2be1dc10ce", null ], [ "getMetaClient", "d4/d70/classnebula_1_1StorageClient.html#a5f3b5301043faebea6f5b5d0e152c1f5", null ], [ "getParts", "d4/d70/classnebula_1_1StorageClient.html#a5eed3de6e0a2d2227754ff7fb4dc07c4", null ], - [ "scanEdgeWithPart", "d4/d70/classnebula_1_1StorageClient.html#a3f13c9d26da0e1343943a256cfc76755", null ], - [ "scanVertexWithPart", "d4/d70/classnebula_1_1StorageClient.html#ae110b266ae19131a47ca2716a70eb2ff", null ], + [ "scanEdgeWithPart", "d4/d70/classnebula_1_1StorageClient.html#ad79a5854f3d7988a947ac8476bcd9515", null ], + [ "scanVertexWithPart", "d4/d70/classnebula_1_1StorageClient.html#a2f6dcfb2399e58d790e90566bd97a9f2", null ], [ "ScanEdgeIter", "d4/d70/classnebula_1_1StorageClient.html#abedf59c11d0e2a60a49dc946f073ff6d", null ], [ "ScanVertexIter", "d4/d70/classnebula_1_1StorageClient.html#a259dd4c94c06f579f6b6ef96cd81fa77", null ] ]; \ No newline at end of file diff --git a/master/d7/dfa/classnebula_1_1StorageClient-members.html b/master/d7/dfa/classnebula_1_1StorageClient-members.html index e8e9df5..a000a3e 100644 --- a/master/d7/dfa/classnebula_1_1StorageClient-members.html +++ b/master/d7/dfa/classnebula_1_1StorageClient-members.html @@ -92,10 +92,10 @@ - + - - + +

Public Member Functions

StorageClient (const std::vector< std::string > &metaAddrs, const MConfig &mConfig=MConfig{}, const SConfig &sConfig=SConfig{})
 
StorageClient (const std::vector< std::string > &metaAddrs, const std::string &user="", const std::string &password="", const MConfig &mConfig=MConfig{}, const SConfig &sConfig=SConfig{})
 
std::vector< PartitionID > getParts (const std::string &spaceName)
 
-ScanEdgeIter scanEdgeWithPart (std::string spaceName, int32_t partID, std::string edgeName, std::vector< std::string > propNames, int64_t limit=DEFAULT_LIMIT, int64_t startTime=DEFAULT_START_TIME, int64_t endTime=DEFAULT_END_TIME, std::string filter="", bool onlyLatestVersion=false, bool enableReadFromFollower=true, bool needAuth=false, const std::string &username="", const std::string &password="")
 
-ScanVertexIter scanVertexWithPart (std::string spaceName, int32_t partID, std::unordered_map< std::string, std::vector< std::string >> tagProps, int64_t limit=DEFAULT_LIMIT, int64_t startTime=DEFAULT_START_TIME, int64_t endTime=DEFAULT_END_TIME, std::string filter="", bool onlyLatestVersion=false, bool enableReadFromFollower=true, bool needAuth=false, const std::string &username="", const std::string &password="")
 
+ScanEdgeIter scanEdgeWithPart (std::string spaceName, int32_t partID, std::string edgeName, std::vector< std::string > propNames, int64_t limit=DEFAULT_LIMIT, int64_t startTime=DEFAULT_START_TIME, int64_t endTime=DEFAULT_END_TIME, std::string filter="", bool onlyLatestVersion=false, bool enableReadFromFollower=true)
 
+ScanVertexIter scanVertexWithPart (std::string spaceName, int32_t partID, std::unordered_map< std::string, std::vector< std::string >> tagProps, int64_t limit=DEFAULT_LIMIT, int64_t startTime=DEFAULT_START_TIME, int64_t endTime=DEFAULT_END_TIME, std::string filter="", bool onlyLatestVersion=false, bool enableReadFromFollower=true)
 
MetaClientgetMetaClient ()
 
getMetaClient() (defined in StorageClient)StorageClientinline
getParts(const std::string &spaceName) (defined in StorageClient)StorageClient
ScanEdgeIter (defined in StorageClient)StorageClientfriend
scanEdgeWithPart(std::string spaceName, int32_t partID, std::string edgeName, std::vector< std::string > propNames, int64_t limit=DEFAULT_LIMIT, int64_t startTime=DEFAULT_START_TIME, int64_t endTime=DEFAULT_END_TIME, std::string filter="", bool onlyLatestVersion=false, bool enableReadFromFollower=true, bool needAuth=false, const std::string &username="", const std::string &password="") (defined in StorageClient)StorageClient
scanEdgeWithPart(std::string spaceName, int32_t partID, std::string edgeName, std::vector< std::string > propNames, int64_t limit=DEFAULT_LIMIT, int64_t startTime=DEFAULT_START_TIME, int64_t endTime=DEFAULT_END_TIME, std::string filter="", bool onlyLatestVersion=false, bool enableReadFromFollower=true) (defined in StorageClient)StorageClient
ScanVertexIter (defined in StorageClient)StorageClientfriend
scanVertexWithPart(std::string spaceName, int32_t partID, std::unordered_map< std::string, std::vector< std::string >> tagProps, int64_t limit=DEFAULT_LIMIT, int64_t startTime=DEFAULT_START_TIME, int64_t endTime=DEFAULT_END_TIME, std::string filter="", bool onlyLatestVersion=false, bool enableReadFromFollower=true, bool needAuth=false, const std::string &username="", const std::string &password="") (defined in StorageClient)StorageClient
StorageClient(const std::vector< std::string > &metaAddrs, const MConfig &mConfig=MConfig{}, const SConfig &sConfig=SConfig{}) (defined in StorageClient)StorageClientexplicit
scanVertexWithPart(std::string spaceName, int32_t partID, std::unordered_map< std::string, std::vector< std::string >> tagProps, int64_t limit=DEFAULT_LIMIT, int64_t startTime=DEFAULT_START_TIME, int64_t endTime=DEFAULT_END_TIME, std::string filter="", bool onlyLatestVersion=false, bool enableReadFromFollower=true) (defined in StorageClient)StorageClient
StorageClient(const std::vector< std::string > &metaAddrs, const std::string &user="", const std::string &password="", const MConfig &mConfig=MConfig{}, const SConfig &sConfig=SConfig{}) (defined in StorageClient)StorageClientexplicit
~StorageClient() (defined in StorageClient)StorageClient
diff --git a/master/navtreeindex1.js b/master/navtreeindex1.js index 64e4ed9..890ca89 100644 --- a/master/navtreeindex1.js +++ b/master/navtreeindex1.js @@ -127,13 +127,13 @@ var NAVTREEINDEX1 = "d4/d45/Set_8h_source.html":[1,0,0,0,0,10], "d4/d70/classnebula_1_1StorageClient.html":[0,0,2,43], "d4/d70/classnebula_1_1StorageClient.html#a259dd4c94c06f579f6b6ef96cd81fa77":[0,0,2,43,7], -"d4/d70/classnebula_1_1StorageClient.html#a3121b08cf7ab21f3bf5c7d50f0452d5a":[0,0,2,43,0], -"d4/d70/classnebula_1_1StorageClient.html#a3f13c9d26da0e1343943a256cfc76755":[0,0,2,43,4], +"d4/d70/classnebula_1_1StorageClient.html#a2f6dcfb2399e58d790e90566bd97a9f2":[0,0,2,43,5], "d4/d70/classnebula_1_1StorageClient.html#a5eed3de6e0a2d2227754ff7fb4dc07c4":[0,0,2,43,3], "d4/d70/classnebula_1_1StorageClient.html#a5f3b5301043faebea6f5b5d0e152c1f5":[0,0,2,43,2], +"d4/d70/classnebula_1_1StorageClient.html#a6045d00100fc56262be69bd1881afe71":[0,0,2,43,0], "d4/d70/classnebula_1_1StorageClient.html#a73185ee395567717a25f2e2be1dc10ce":[0,0,2,43,1], "d4/d70/classnebula_1_1StorageClient.html#abedf59c11d0e2a60a49dc946f073ff6d":[0,0,2,43,6], -"d4/d70/classnebula_1_1StorageClient.html#ae110b266ae19131a47ca2716a70eb2ff":[0,0,2,43,5], +"d4/d70/classnebula_1_1StorageClient.html#ad79a5854f3d7988a947ac8476bcd9515":[0,0,2,43,4], "d4/d73/classnebula_1_1SessionPool.html":[0,0,2,37], "d4/d73/classnebula_1_1SessionPool.html#a01d6aa5860c6d64ebb2d7a26dd02fcc4":[0,0,2,37,7], "d4/d73/classnebula_1_1SessionPool.html#a2c1b321913b151045ceb3d39136f3ed6":[0,0,2,37,1],