mirror of https://gitee.com/bigwinds/arangodb
TraverserOptions now support proper subclassing.
This commit is contained in:
parent
a7546b684c
commit
b9b7d8d841
|
@ -67,7 +67,7 @@ struct TraverserOptions {
|
||||||
public:
|
public:
|
||||||
enum UniquenessLevel { NONE, PATH, GLOBAL };
|
enum UniquenessLevel { NONE, PATH, GLOBAL };
|
||||||
|
|
||||||
private:
|
protected:
|
||||||
|
|
||||||
struct LookupInfo {
|
struct LookupInfo {
|
||||||
// This struct does only take responsibility for the expression
|
// This struct does only take responsibility for the expression
|
||||||
|
@ -93,7 +93,7 @@ struct TraverserOptions {
|
||||||
void buildEngineInfo(arangodb::velocypack::Builder&) const;
|
void buildEngineInfo(arangodb::velocypack::Builder&) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
private:
|
protected:
|
||||||
arangodb::Transaction* _trx;
|
arangodb::Transaction* _trx;
|
||||||
std::vector<LookupInfo> _baseLookupInfos;
|
std::vector<LookupInfo> _baseLookupInfos;
|
||||||
std::unordered_map<size_t, std::vector<LookupInfo>> _depthLookupInfo;
|
std::unordered_map<size_t, std::vector<LookupInfo>> _depthLookupInfo;
|
||||||
|
@ -135,7 +135,7 @@ struct TraverserOptions {
|
||||||
/// After planning this node should not be copied anywhere.
|
/// After planning this node should not be copied anywhere.
|
||||||
TraverserOptions(TraverserOptions const&);
|
TraverserOptions(TraverserOptions const&);
|
||||||
|
|
||||||
~TraverserOptions();
|
virtual ~TraverserOptions();
|
||||||
|
|
||||||
/// @brief Build a velocypack for cloning in the plan.
|
/// @brief Build a velocypack for cloning in the plan.
|
||||||
void toVelocyPack(arangodb::velocypack::Builder&) const;
|
void toVelocyPack(arangodb::velocypack::Builder&) const;
|
||||||
|
|
Loading…
Reference in New Issue