NebulaGraph CPP Client
release-3.4
ScanEdgeIter.h
1
/* Copyright (c) 2020 vesoft inc. All rights reserved.
2
*
3
* This source code is licensed under Apache 2.0 License.
4
*/
5
6
#pragma once
7
8
#include <string>
9
#include <vector>
10
11
#include "common/datatypes/DataSet.h"
12
13
namespace
nebula {
14
class
StorageClient;
15
16
namespace
storage {
17
namespace
cpp2 {
18
class
ScanEdgeRequest;
19
}
// namespace cpp2
20
}
// namespace storage
21
22
struct
ScanEdgeIter
{
23
ScanEdgeIter
(
StorageClient
* client, storage::cpp2::ScanEdgeRequest* req,
bool
hasNext =
true
);
24
25
~
ScanEdgeIter
();
26
27
bool
hasNext();
28
29
DataSet
next();
30
31
StorageClient
* client_;
32
storage::cpp2::ScanEdgeRequest* req_;
33
bool
hasNext_;
34
std::string nextCursor_;
35
};
36
37
}
// namespace nebula
nebula::StorageClient
Definition:
StorageClient.h:59
nebula::DataSet
Definition:
DataSet.h:20
nebula::ScanEdgeIter
Definition:
ScanEdgeIter.h:22
include
nebula
sclient
ScanEdgeIter.h
Generated by
1.9.1