From 25ee17c075fe623c111f1151033c3d2959600b66 Mon Sep 17 00:00:00 2001 From: Max Neunhoeffer Date: Fri, 26 Sep 2014 14:50:28 +0200 Subject: [PATCH] initializeCursor and shutdown methods for ExecutionEngine. --- arangod/Aql/ExecutionEngine.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arangod/Aql/ExecutionEngine.h b/arangod/Aql/ExecutionEngine.h index c61743ca55..79d965e114 100644 --- a/arangod/Aql/ExecutionEngine.h +++ b/arangod/Aql/ExecutionEngine.h @@ -106,6 +106,22 @@ namespace triagens { return _query; } +//////////////////////////////////////////////////////////////////////////////// +/// @brief initializeCursor, could be called multiple times +//////////////////////////////////////////////////////////////////////////////// + + int initializeCursor (AqlItemBlock* items, size_t pos) { + return _root->initializeCursor(items, pos); + } + +//////////////////////////////////////////////////////////////////////////////// +/// @brief shutdown, will be called exactly once for the whole query +//////////////////////////////////////////////////////////////////////////////// + + int shutdown () { + return _root->shutdown(); + } + //////////////////////////////////////////////////////////////////////////////// /// @brief getSome ////////////////////////////////////////////////////////////////////////////////