Max Neunhoeffer
225c8cd843
Work on TODOs.
2015-12-22 16:50:09 +01:00
jsteemann
ead2ee47e7
issue #1409 : fix NUL-byte handling
2015-12-17 10:54:24 +01:00
jsteemann
600c48375d
added optimizer rule `sort-in-values`
2015-12-13 23:33:44 +01:00
Jan Steemann
ee6792dd6b
fixes for traversal and multi-modify
2015-12-08 14:50:05 +01:00
Jan Steemann
ec3ab298e1
added test for traversal after data modification
2015-12-03 13:46:11 +01:00
Jan Steemann
d572f3ed03
Merge branch 'aql-multi-modify' of https://github.com/arangodb/arangodb into devel
2015-12-03 11:38:30 +01:00
jsteemann
cb62c657e0
initial commit
2015-11-18 17:46:19 +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
179660e87c
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
2015-11-04 17:07:09 +01:00
Michael Hackstein
11606c1f55
Added a CXX implementation of BINARY_PLUS.
2015-11-03 10:19:26 +01:00
Wilfried Goesgens
951165ab1e
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
...
Conflicts:
arangod/Aql/grammar.cpp
arangod/Aql/grammar.h
js/common/modules/org/arangodb/graph-examples/example-graph.js
2015-10-28 11:08:18 +01:00
Jan Steemann
4dde92470f
attempt to speed up index queries
2015-10-22 14:11:27 +02:00
Wilfried Goesgens
dae95de667
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
2015-10-21 14:54:01 +02:00
Jan Steemann
e2d97e623f
merge multiple ORs
2015-10-19 17:28:43 +02:00
jsteemann
f075d6e4b5
sort IN values
2015-10-17 15:24:36 +02:00
jsteemann
04a9ee03c3
fixed an assertion failure
2015-10-15 23:27:14 +02:00
Jan Steemann
5b423971ef
support `value IN attr[*]`
2015-10-07 17:25:22 +02:00
Jan Steemann
b6c8d77d98
some bugfixes
2015-10-06 11:23:55 +02:00
Jan Steemann
e46ba60715
changed signatures of attribute-access-detecting functions
2015-10-05 16:01:19 +02:00
Jan Steemann
7d4c379598
small modifications, temporarily disabled interchange-adjacent-enumerations
2015-10-02 19:53:35 +02:00
Jan Steemann
a2731a6121
blind commit
2015-10-02 17:02:02 +02:00
Jan Steemann
3a92fa8e16
merge IN with IN
2015-10-02 15:22:21 +02:00
Jan Steemann
7292384b37
deduplicate IN arrays
2015-10-02 14:05:27 +02:00
Jan Steemann
bc4e27bdc9
added getOne()
2015-10-01 13:25:03 +02:00
Jan Steemann
e71ff5a4f5
cppcheck
2015-09-30 16:50:57 +02:00
Jan Steemann
27bcd7ee84
better estimates
2015-09-29 15:30:44 +02:00
Jan Steemann
89b6329985
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
2015-09-28 18:13:29 +02:00
Jan Steemann
3c4c64cf14
allow multiple collection nodes
2015-09-18 17:27:10 +02:00
Michael Hackstein
1a7f414c16
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-09-18 12:21:39 +02:00
Frank Celler
c4d1fff729
new traversal
2015-09-18 10:40:28 +02:00
Jan Steemann
fc553f4909
removed iostream includes
2015-09-17 18:46:42 +02:00
Jan Steemann
2f10135e60
transplanted changes from aql-conditions
2015-09-16 17:36:17 +02:00
CoDEmanX
b4593a7e82
Change spelling of 'initialize' to American English (comments and log messages only)
2015-09-01 17:07:21 +02:00
Jan Steemann
8ee12f7a27
binary-safe back-references
2015-08-20 21:01:43 +02:00
Jan Steemann
97d67e4399
use binary-safe string representations
2015-08-20 01:46:20 +02:00
Jan Steemann
330fac6225
some unused function cleanup
2015-08-06 21:25:32 +02:00
Jan Steemann
2d8777bc6c
make the optimizer create less plans
2015-07-30 00:07:32 +02:00
Jan Steemann
bef83a7fbb
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-07-28 11:45:11 +02:00
Jan Steemann
cdfdec9244
save some overhead when walking plans
2015-07-28 11:44:34 +02:00
Jan Steemann
3d3024a54e
cppcheck
2015-07-28 09:51:24 +02:00
Jan Steemann
ead280afe5
added DISTINCT
2015-07-24 13:19:55 +02:00
Jan Steemann
29c1904e21
issue #1383 : bindVars for HTTP API doesn't work with empty string
2015-06-25 09:23:40 +02:00
Jan Steemann
7313b19431
implemented FILTER, LIMIT and multi-star features
2015-06-20 14:21:58 +02:00
Jan Steemann
d6f3436cc9
added tests
2015-06-16 15:13:53 +02:00
Jan Steemann
3985498fc3
added [x..y] array access, added [**] operator
2015-06-11 00:09:41 +02:00
Jan Steemann
d99d164c0a
simplified parser
2015-06-10 20:25:25 +02:00
Jan Steemann
8b8918f72c
added (still disabled) rule fuse-calculations
2015-06-02 21:32:38 +02:00
Jan Steemann
64ae7adb93
issue #1341 : Can't use bindvars in UPSERT
2015-05-28 14:28:23 +02:00
Jan Steemann
c88b731acf
save some mallocs for strings in AQL
2015-05-18 23:40:28 +02:00
Jan Steemann
9c73028541
less copying
2015-05-12 13:36:08 +02:00
Jan Steemann
06cf34700f
simplify attribute accesses
2015-05-08 15:14:17 +02:00
Jan Steemann
a007a867ee
"privatized" TRI_vector_t internals.
...
This allows changing the internals of TRI_vector_t structs in order to make the struct smaller.
On 64 bits, the size of TRI_vector_t is reduced from 48 bytes to 28 bytes.
TRI_json_t does benefit from this, as its biggest component is a TRI_vector_t.
2015-05-05 10:31:02 +02:00
Jan Steemann
ca07b07630
change naming
2015-05-04 16:55:07 +02:00
Jan Steemann
cb0ff510d6
slightly less copying
2015-04-30 16:50:08 +02:00
Jan Steemann
6e14c99835
fixed error message
2015-04-22 14:16:52 +02:00
Jan Steemann
974b656c1b
allow overriding COLLECT method
2015-04-21 14:45:22 +02:00
Jan Steemann
50b531666c
optimization for AQL CONCAT()
...
Conflicts:
arangod/Aql/AqlValue.cpp
arangod/Aql/AqlValue.h
arangod/Aql/Ast.cpp
2015-03-27 17:18:27 +01:00
Jan Steemann
2f58e4ea61
small cleanup
2015-03-25 12:42:44 +01:00
Jan Steemann
66e2273482
added documentation for UPSERT
2015-03-24 00:44:52 +01:00
Jan Steemann
7d5cc17d98
added tests
2015-03-23 22:28:26 +01:00
Jan Steemann
c62c26e088
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-23 15:31:41 +01:00
Jan Steemann
e3bf1c709c
upsert blocks
2015-03-23 15:31:07 +01:00
Frank Celler
4c5d57f1b8
merged Exceptions.h and Exception.h
2015-03-23 14:05:19 +01:00
Jan Steemann
6b24da1036
in the middle of refactoring
2015-03-17 09:08:25 +01:00
Jan Steemann
491e755cd8
turn indexed accesses (e.g. a['foo']) into attribute accesses (e.g. a.foo) during AST optimization
...
this qualifies the indexed accesses to be used with an IndexRangeNode later
2015-02-07 16:55:25 +01:00
Jan Steemann
dd74c6ac87
execute read and write operations of different collections in the same AQL query in lockstep, and not sequentially
2015-02-05 18:27:10 +01:00
Jan Steemann
5d9c0e018e
dynamic attribute names in AQL
2015-02-03 22:51:40 +01:00
Jan Steemann
c49986d0e8
preparation for conditions
2015-01-25 10:40:13 +01:00
Jan Steemann
81a74f4c7f
use TRI_AddressVector
2015-01-24 14:03:41 +01:00
Jan Steemann
7db19894ca
do not pass name in TRI_ERROR_ARANGO_ILLEGAL_NAME
2015-01-23 12:38:40 +01:00
Jan Steemann
fd3e123253
optimizations for AST node flagging and V8 object creation
2015-01-22 19:35:20 +01:00
Jan Steemann
bdb50d873e
fixed method comments
2015-01-22 19:35:20 +01:00
Jan Steemann
cba74d0803
fixed memleaks
2015-01-09 18:27:59 +01:00
Willi Goesgens
e2f206fd2c
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
arangod/Aql/grammar.cpp
2015-01-07 15:50:44 +01:00
Willi Goesgens
f905123802
Implement REMOVE/INSERT/UPDATE/REPLACE return the changed values
2015-01-07 15:48:13 +01:00
Jan Steemann
62696b6984
prerequisites for further COLLECT optimizations
2015-01-07 09:42:46 +01:00
Jan Steemann
d92057dd03
the great rename: array => object, list => array
2014-12-18 22:33:23 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Jan Steemann
dd60e53ce3
added more collect special cases
2014-12-16 22:52:33 +01:00
Willi Goesgens
1c4a72b106
The Big V8 upgrade Merge.
2014-12-15 17:30:56 +01:00
Jan Steemann
8f6193faa2
added optional COUNT clause for AQL COLLECT
2014-12-12 17:18:04 +01:00
Jan Steemann
399e93c3ff
issue #1155 : allow bind parameter for sort order
...
SORT what @order is now allowed
2014-12-08 13:05:40 +01:00
Jan Steemann
c43bd64222
fixed VS compile error
2014-12-05 15:16:37 +01:00
Jan Steemann
34012395e3
fixed some compile issues
2014-12-05 15:02:08 +01:00
Jan Steemann
7e161b88ce
issue #1131 : added KEEP for `COLLECT...INTO`
2014-12-03 17:44:10 +01:00
Jan Steemann
c69fa0b0dc
fixed invalid optimization, added test cases
2014-11-25 23:18:24 +01:00
James
f797afe0d5
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-lazy-index
2014-11-13 08:04:25 +00:00
Jan Steemann
7cd1eb5474
more warnings
2014-11-12 14:52:54 +01:00
James
3e612acdda
Merge branch 'aql-feature-lazy-index' of ssh://github.com/triAGENS/ArangoDB into aql-feature-lazy-index
2014-11-11 08:23:23 +00:00
Jan Steemann
12d326d62b
updated documentation and operators behavior
2014-11-10 18:05:11 +01:00
Jan Steemann
97b5e906da
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-feature-lazy-index
2014-11-08 23:26:38 +01:00
Jan Steemann
567860cf65
more aggresively optimizer filters
2014-11-08 23:26:04 +01:00
Jan Steemann
9c5d150866
use Ast::ReverseOperator
2014-11-08 22:31:31 +01:00
Jan Steemann
b0de1bb226
leaner and meaner error messages
2014-11-07 10:53:00 +01:00
Jan Steemann
8e678c50da
mini optimization: share frequently occuring values
2014-11-06 20:14:02 +01:00
Jan Steemann
749a0aa408
fixed cloning of AST nodes
2014-11-01 21:54:02 +01:00
Jan Steemann
83252851e6
report warnings in queries
2014-10-30 17:33:15 +01:00
Jan Steemann
464c0751d9
removed TODOs
2014-10-29 13:19:13 +01:00
Jan Steemann
8bb213e7ba
sort and cache list expression values
...
emplace
fixed wrong assertion
2014-10-29 01:02:20 +01:00