mirror of https://gitee.com/bigwinds/arangodb
Added dummy to collect a shared VPackBuilder from a query object. Has to be properly implemented as soon as VelocyPack is the default AqlValue format
This commit is contained in:
parent
92c69d2039
commit
6eeb686287
|
@ -1466,6 +1466,15 @@ std::string Query::getStateString() const {
|
|||
return std::string(" (while " + StateNames[_state] + ")");
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief get a shared builder for in-place VelocyPack construction
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
std::shared_ptr<VPackBuilder> Query::getSharedBuilder () {
|
||||
// TODO Proper memory efficient implementation
|
||||
return std::make_shared<VPackBuilder>();
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief cleanup plan and engine for current query
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -413,6 +413,12 @@ class Query {
|
|||
|
||||
std::string getStateString () const;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief get a shared builder for in-place VelocyPack construction
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
std::shared_ptr<arangodb::velocypack::Builder> getSharedBuilder ();
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// --SECTION-- private methods
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue