1
0
Fork 0
Commit Graph

153 Commits

Author SHA1 Message Date
Michael Hackstein e9787018b3 The Pattern matching now allows a minDepth of 0 and even a complete search of depth 0. 2016-05-09 17:48:55 +02:00
jsteemann 4a7c9f0f68 simplified bloated comments 2016-04-09 11:27:30 +02:00
Jan Steemann dce7c427d9 test fixes 2016-03-24 14:55:31 +01:00
jsteemann dc3581563c bugfixes 2016-03-17 14:46:49 +01:00
jsteemann 4845b3fc93 cleanup 2016-02-26 23:07:19 +01:00
Michael Hackstein f32750e1ac Removed obsolete toJson from AQL Nodes 2016-02-16 10:29:38 +01:00
Michael Hackstein f767636f14 Added a toVelocyPack serialisation to all Aql Nodes and their dependencies. Right now in parallel to toJson. 2016-02-16 00:04:32 +01:00
jsteemann 0c39095037 pass Json by const reference 2016-02-07 10:07:34 +01:00
Jan Steemann a71f65f873 potential fix 2016-02-04 18:05:48 +01:00
Jan Steemann 45d9745756 fixed display of Traversals in AQL explain 2016-02-02 11:24:51 +01:00
Michael Hackstein 651e705ebd Introduced a new EMPTY_GRAPH error which is thrown during AQL execitions whenever the graph has no edge collections. 2016-01-28 18:07:26 +01:00
Michael Hackstein 0a421a1cc0 Finished implementation for multi-direction traversals. 2016-01-28 15:43:19 +01:00
Michael Hackstein 582f1f46f0 Preparation for multi-direction traversals. As requested in #1683. Internal traverser can now work with one direction per collection. Next: AQL needs to learn this too. 2016-01-28 14:07:50 +01:00
Jan Steemann 9046e1831b clang-format 2016-01-27 13:43:46 +01:00
Jan Steemann 6b19a7b0a7 fixes ported from 2.8 2016-01-21 16:40:31 +01:00
jsteemann 842384016d namespace cleanup 2016-01-21 00:20:22 +01:00
jsteemann 431900f17a changed namespace from triagens to arangodb 2016-01-17 00:44:53 +01:00
jsteemann 2ae325fd4e removed some of those "using namespace" directives 2016-01-14 23:21:39 +01:00
Jan Steemann a3b026d9d1 removed useless sections from code, unified include guards 2016-01-06 14:15:22 +01:00
Jan Steemann f422576ee0 clang-format 2016-01-05 17:43:24 +01:00
Jan Steemann 6bc0f491a2 fixed Visual Studio warning 2015-12-23 15:33:02 +01:00
Max Neunhoeffer 8ce0a484e1 Fix graph traversal tests, behaviour and documentation. 2015-12-21 15:20:56 +01:00
Michael Hackstein 642a6261f2 Added a proper selectivity estimate for traversal nodes. 2015-12-18 18:02:13 +01:00
Wilfried Goesgens 9d1f861736 Fix memory management of traverser expression. 2015-12-16 17:07:17 +01:00
Jan Steemann 8e18d6463f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-12-16 11:44:56 +01:00
Jan Steemann a694b7ef48 make_unique 2015-12-16 11:36:35 +01:00
Wilfried Goesgens da57d31488 Implement de/serializing of filters in traversalnodes 2015-12-16 11:17:38 +01:00
Wilfried Goesgens f51e5efb34 Implement tests for de/serializing of TraversalNodes. 2015-12-14 18:07:04 +01:00
jsteemann 600c48375d added optimizer rule `sort-in-values` 2015-12-13 23:33:44 +01:00
jsteemann 18e47457a6 fixes 2015-12-11 13:29:18 +01:00
Wilfried Goesgens 8c1d6efaaf Improve error message 2015-12-11 13:02:23 +01:00
Michael Hackstein 3891d0a268 Fixed illegal no results optimization in traversal nodes. Also changed internal format for the reported graph 2015-12-02 11:36:44 +01:00
Jan Steemann 9497ca9c7c fixed memleaks 2015-12-01 17:07:32 +01:00
Michael Hackstein cda189d5ca Unvirtualized toJson of Traversal Node. Base Class toJson is required in Cluster. Explainer requires specific toJson 2015-11-26 16:02:38 +01:00
Wilfried Goesgens 42081165e0 Don't copy while iterating, use const references. 2015-11-25 16:49:01 +01:00
Michael Hackstein 0adbef4f76 Transformed the TraversalExpression vector into a map ordered by access level. This is way more convenient on the Traverser side to be used. 2015-11-17 16:25:45 +01:00
Michael Hackstein 3afddb32ed The TraversalBlock now executes all expressions locally. It is able to hand them over to Traversers 2015-11-17 14:11:15 +01:00
Michael Hackstein a5273e8fec Preperation for DBServer local filtering 2015-11-17 11:01:51 +01:00
Michael Hackstein 2d9f466f38 Minor style fixes 2015-11-17 10:35:32 +01:00
Michael Hackstein 3845f8b7eb Merge branch 'JHMH' of github.com:arangodb/arangodb into JHMH 2015-11-17 08:54:59 +01:00
Michael Hackstein 4c45e3fb5a Fixed a bug when using edge collections in Traversal 2015-11-16 19:48:20 +01:00
Wilfried Goesgens c2fcef77e6 remove p.edges[*].foo detection, we can't handle this. 2015-11-16 15:43:54 +01:00
Michael Hackstein 3923c7936e EdgeCollections are now evaluated to cids later in TraversalBlock. This change was necessary for the Cluster 2015-11-16 09:09:34 +01:00
Wilfried Goesgens 418ddc4dd5 Implement simple condition extractor 2015-11-13 16:49:12 +01:00
Michael Hackstein 8d0d921ab6 Included two Abstract classes for Traversals. Traverser and TraversalPath. Implemented both of them for Single-Server Traversals. 2015-11-12 16:25:36 +01:00
Wilfried Goesgens 92ad802bd6 Cache Graphs inside of the Query object
- split Graph clas into Aql/Graphs
  - cleanup includes
2015-11-11 13:52:33 +01:00
Wilfried Goesgens ae4d888c9a - Make graphs lookup clustrer ready
- remove cache, its hard to maintain when its valid and when not.
2015-11-11 11:04:12 +01:00
Wilfried Goesgens 9ad613a0a8 Return the variables that expressions use too in getVariablesUsedHere() 2015-11-06 15:50:59 +01:00
Wilfried Goesgens d51b5cdc9b Finalize the explain feature 2015-11-06 13:41:44 +01:00
Wilfried Goesgens 327b408a22 Start implementing early filtering of paths to exclude from the result 2015-10-28 12:37:13 +01:00
Wilfried Goesgens e9928de21b start to fix graph implementation for explain() 2015-10-22 13:05:13 +02:00
Wilfried Goesgens cd6cc35def Adjust the stage to the now non-void pointered index implementation. 2015-10-22 11:12:21 +02:00
Frank Celler c4d1fff729 new traversal 2015-09-18 10:40:28 +02:00