jsteemann
|
d6833b6862
|
potentially optimized lookups for _from and _to
|
2016-04-30 14:21:15 +02:00 |
jsteemann
|
58736a9d50
|
prepation for optimizations
|
2016-04-29 17:26:22 +02:00 |
Michael Hackstein
|
c58b78062b
|
Added a sanitize externals function that expands externals on demand. It is now used whenever a query is stored in the query cache as the data it is pointing to might be moved. Has to be used as well when sending VPack to client.
|
2016-04-29 15:21:48 +02:00 |
Michael Hackstein
|
7af9beefa1
|
Neighbors now uses VPackSlices with specialized string comparision function.
|
2016-04-29 13:55:02 +02:00 |
Michael Hackstein
|
165d92fc58
|
Merge branch 'devel' of github.com:arangodb/arangodb into devel
|
2016-04-29 09:15:09 +02:00 |
Michael Hackstein
|
bc464435a4
|
trx.document now uses externals and AQL functions react to it
|
2016-04-28 17:33:25 +02:00 |
jsteemann
|
b9ef307bf1
|
micro optimizations
|
2016-04-28 12:04:14 +02:00 |
Michael Hackstein
|
490905d188
|
Replaced an unordered set by a vector. The uniqueness is guaranteed by other mechanisms anyways. Further improved computationtime of Neighbors
|
2016-04-21 13:52:12 +02:00 |
jsteemann
|
25c89bb7e8
|
make AQL RANGE() function return a real range object
|
2016-04-11 23:11:05 +02:00 |
Jan Steemann
|
947fb8d9ad
|
make LIKE wildcards newline-aware
|
2016-04-11 14:02:12 +02:00 |
jsteemann
|
4a7c9f0f68
|
simplified bloated comments
|
2016-04-09 11:27:30 +02:00 |
Jan Steemann
|
3a582af765
|
fix Windows build
|
2016-04-08 13:09:32 +02:00 |
Michael Hackstein
|
1b967d9535
|
Started fixing AQL-failures-noncluster tests. Still two are failing. Return and Sort.
|
2016-04-07 14:37:18 +02:00 |
Max Neunhoeffer
|
12c420913e
|
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
|
2016-03-23 09:02:14 +01:00 |
Max Neunhoeffer
|
c2049b8ee1
|
Switch to IndexHandles.
|
2016-03-23 08:57:00 +01:00 |
Jan Steemann
|
d763c102d6
|
fulltext fixes
|
2016-03-22 18:34:40 +01:00 |
Jan Steemann
|
80413739d1
|
fixed test
|
2016-03-22 14:34:18 +01:00 |
Michael Hackstein
|
51c0d6ee64
|
Edge queries are now more relaxed about the start vertex. They will not throw errors instead just return empty array as a value.
|
2016-03-22 11:37:04 +01:00 |
Michael Hackstein
|
e7271f6e58
|
AQL EDGES function does not throw COLLECTION_NOT_FOUND any more
|
2016-03-22 09:55:14 +01:00 |
Jan Steemann
|
811732230c
|
fixed test
|
2016-03-21 13:46:58 +01:00 |
Michael Hackstein
|
7f9ae321a0
|
Traverser Basic options now know the transaction. Modified all implementations to use Slices in apropriate places. Fixes some, but not all tests
|
2016-03-21 11:28:33 +01:00 |
Michael Hackstein
|
f1c91d9550
|
Fixed forgotten nullptr handling.
|
2016-03-18 17:28:18 +01:00 |
jsteemann
|
d5f754a430
|
fixed leaks
|
2016-03-18 14:30:55 +01:00 |
jsteemann
|
5ded90ed1c
|
fixed compare function for Custom attributes
|
2016-03-18 13:55:36 +01:00 |
Michael Hackstein
|
c7b63f0ffa
|
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
|
2016-03-18 08:48:39 +01:00 |
jsteemann
|
62fd9435d9
|
fixed some tests
|
2016-03-17 22:57:11 +01:00 |
Michael Hackstein
|
2d2cfae297
|
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
|
2016-03-17 18:51:30 +01:00 |
Michael Hackstein
|
401f55ae37
|
Replaced OperationCursor by shared_ptrs every where and removed the slice function from it. Instead it returns a shared ptr on a OperationResult on getMore
|
2016-03-17 18:49:20 +01:00 |
jsteemann
|
a15e9d9550
|
removed files
|
2016-03-17 00:28:08 +01:00 |
jsteemann
|
0720ccdecb
|
harmonized
|
2016-03-16 18:49:42 +01:00 |
jsteemann
|
a61c6b8ffa
|
fixed query options
|
2016-03-16 17:53:39 +01:00 |
jsteemann
|
665c1b9103
|
yet another function
|
2016-03-16 10:41:06 +01:00 |
jsteemann
|
85c5333dcf
|
simplified functions, halfway through
|
2016-03-16 02:47:23 +01:00 |
jsteemann
|
3c3a4fb0d2
|
use AqlValues
|
2016-03-15 20:27:57 +01:00 |
jsteemann
|
8650404c9e
|
fixed startup
|
2016-03-15 20:09:15 +01:00 |
jsteemann
|
4f8265bfc8
|
temporary builder leaser
|
2016-03-15 14:08:03 +01:00 |
jsteemann
|
3fd954fc6a
|
micro optimizations
|
2016-03-15 10:40:37 +01:00 |
jsteemann
|
7fb31d9ef6
|
free by default
|
2016-03-15 00:13:11 +01:00 |
jsteemann
|
b04ec219d9
|
changed functions signature
|
2016-03-15 00:01:54 +01:00 |
jsteemann
|
d7bec3c343
|
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
|
2016-03-14 14:34:36 +01:00 |
Max Neunhoeffer
|
ed1e59b3a1
|
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
|
2016-03-14 14:08:29 +01:00 |
Max Neunhoeffer
|
50514610fc
|
Change id and key validation to use length.
|
2016-03-14 10:23:08 +01:00 |
jsteemann
|
874a748477
|
use ValuePair
|
2016-03-14 09:19:52 +01:00 |
jsteemann
|
3c6cdb5ddb
|
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
|
2016-03-14 09:14:54 +01:00 |
jsteemann
|
47e5069bf7
|
do not leak
|
2016-03-14 09:13:55 +01:00 |
Jan Steemann
|
da691ed39c
|
fixed memory issues
|
2016-03-11 12:44:38 +01:00 |
Michael Hackstein
|
23f845de05
|
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
|
2016-03-10 10:46:30 +01:00 |
Michael Hackstein
|
4c4c117059
|
Partially Adopted Traverser to new transaction API. This is still work in Progress. It compiles but it will not work yet.
|
2016-03-10 10:42:20 +01:00 |
jsteemann
|
279fb105e2
|
cppcheck
|
2016-03-09 22:57:49 +01:00 |
Max Neunhoeffer
|
bffd86b035
|
Temporarily disable external VPack usage again.
|
2016-03-09 15:20:21 +01:00 |
Michael Hackstein
|
ecbab4e2da
|
Removed duplicate functionality from functions.cpp. Also Simplified the example matcher to not use Resolver and Shaper any more
|
2016-03-09 12:43:04 +01:00 |
Michael Hackstein
|
c3c06a2f5c
|
Modified EDGES AQL funciton to use new Transaction API instead and does not rely on the shaper any more. Also added a iteratorForSlice method to EdgeIndex. It is slightly more complicated than other indexes iteratorForSlice functions because of the special _from, _to indexing in one index.
|
2016-03-09 09:59:51 +01:00 |
jsteemann
|
d756f6a176
|
removed TRI_transaction_collection_t from public APIs
|
2016-03-09 01:51:17 +01:00 |
Michael Hackstein
|
37982177ac
|
Removed unused functions and imports
|
2016-03-06 11:58:03 +01:00 |
Michael Hackstein
|
729847f1e7
|
Removed the old Json based AQL FunctionParameters. Also removed all Json-based wrappers around the new VelocyPack based AQL functions.
|
2016-03-06 11:49:53 +01:00 |
Jan Steemann
|
c157363f3c
|
less dependencies
|
2016-03-04 17:21:09 +01:00 |
Michael Hackstein
|
d95c4954a4
|
Removed shape from ExampleMatcher. Also TRI_json_t variant is non functional anymore. It is DEPRECATED and will be removed very very soon
|
2016-03-02 15:46:32 +01:00 |
Jan Steemann
|
bd9293802d
|
marker changes, unfinished
|
2016-02-26 19:39:17 +01:00 |
Jan Steemann
|
ebf2d1520b
|
removed TRI_doc_mptr_copy_t
|
2016-02-26 11:46:33 +01:00 |
Frank Celler
|
4b2b85f1b5
|
more cleanup
|
2016-02-24 19:19:04 +01:00 |
jsteemann
|
ee49f4f3f7
|
cppcheck
|
2016-02-23 21:33:59 +01:00 |
Michael Hackstein
|
f61c16a248
|
Removed obsolete JSON implementations in Aql/Functions
|
2016-02-23 11:09:48 +01:00 |
Max Neunhoeffer
|
393ac7e753
|
Rename getCollectionId -> getCollectionIdLocal.
|
2016-02-19 23:26:17 +01:00 |
Jan Steemann
|
a3b0bb83d1
|
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
|
2016-02-16 15:39:02 +01:00 |
Jan Steemann
|
313f27deed
|
renamed methods
|
2016-02-15 18:18:03 +01:00 |
Michael Hackstein
|
bb264d89f8
|
Removed VPackSlice const from std::containers. It is against the standard and compiles somehow with clang but not with g++4.9
|
2016-02-15 11:21:40 +01:00 |
Michael Hackstein
|
2c6c31004c
|
Silenced parentheses warning
|
2016-02-15 10:53:35 +01:00 |
Michael Hackstein
|
835e077836
|
Fixed a linux compile bug with default parameters. Now they have no defaults any more.
|
2016-02-15 10:51:12 +01:00 |
Michael Hackstein
|
a3cd1aa54e
|
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
|
2016-02-15 10:25:31 +01:00 |
Michael Hackstein
|
c8e0d417ba
|
Added VPack Variant for IS_SAME_COLLECTION. This was the function without a VelocyPack variant. AQL Functions are now ready to be switched.
|
2016-02-13 14:46:32 +01:00 |
Michael Hackstein
|
a52e70c3f5
|
Added a VPack Variant for AQL FULLTEXT function
|
2016-02-13 14:40:10 +01:00 |
Michael Hackstein
|
bfddd69a03
|
Added a velocypack variant of POSITION and RANGE.
|
2016-02-13 14:30:43 +01:00 |
Michael Hackstein
|
521be3c08e
|
Added VPack variant of PERCENTILE and MEDIAN
|
2016-02-13 14:15:09 +01:00 |
Michael Hackstein
|
0688392364
|
Added a velocypack variant of stdDev and variance to AQL
|
2016-02-13 14:00:40 +01:00 |
Michael Hackstein
|
8cbac0258a
|
Added VPack implementation for NotNull, CurrentDatabase and CollectionCount
|
2016-02-13 13:48:34 +01:00 |
Jan Steemann
|
b8849daa50
|
fix invalid fix
|
2016-02-12 10:41:09 +01:00 |
Jan Steemann
|
797fff14c2
|
fixed issue #1722
|
2016-02-12 09:45:32 +01:00 |
Michael Hackstein
|
30547cb696
|
Further implementation if list functions in VPack variant. Also fixed a bug in FIRST
|
2016-02-10 21:56:09 +01:00 |
Michael Hackstein
|
a3cccc14cf
|
Added implementation for VPack variant of POP and APPEND
|
2016-02-10 18:55:28 +01:00 |
Michael Hackstein
|
acbc7cdad2
|
Added more VPackStyle functions: firstDocument firstArray push.
|
2016-02-10 18:14:13 +01:00 |
Michael Hackstein
|
7976903c43
|
Added VPack implementations for Math functions.
|
2016-02-09 16:51:04 +01:00 |
Michael Hackstein
|
f5d93fb872
|
Implemented AQL EDGES as a VPack Variant.
|
2016-02-05 16:18:21 +01:00 |
Michael Hackstein
|
dcd275181f
|
Added VPack Variant of DOCUMENT()
|
2016-02-05 14:37:33 +01:00 |
Michael Hackstein
|
17abd440aa
|
Further implementation of AQL Functions VPack variants.
|
2016-02-05 13:55:18 +01:00 |
Michael Hackstein
|
ba9d3566e9
|
Implemented Geo Functions in VPack variant. Also simplified the code.
|
2016-02-05 10:22:15 +01:00 |
Michael Hackstein
|
96b75d3733
|
Added a VPack Implementation for AQL Neighbors. This involved modification of Traverser and ExampleMather to understand VPack as well
|
2016-02-05 08:45:20 +01:00 |
Michael Hackstein
|
edf7f6b9d9
|
Further implementation of AQL functions for VPack. UNIQUE UNIQUE_SORTED UNION UNION_DISTINCT
|
2016-02-04 15:23:26 +01:00 |
Michael Hackstein
|
84b1f9055d
|
Further implementation of VPackAqlValue functions. This included VALUES and ATTRIBUTES. These functions by accident had an ordering in TRI_json_t which they do not have any more in VelocyPack. Clarified Documentation.
|
2016-02-04 13:49:59 +01:00 |
Michael Hackstein
|
14c33024c4
|
Added more functions for VelocyPack variabt of AqlValue
|
2016-02-03 14:51:17 +01:00 |
Michael Hackstein
|
f478411bb8
|
Included a backward transformation AqlValueVPack -> AqlValueJson. This allows to use the new VPack Functions without modification after switch. They return AqlValueVPack.
|
2016-02-03 10:48:08 +01:00 |
Michael Hackstein
|
92c69d2039
|
Implemented To_Array for VPack
|
2016-02-02 15:37:05 +01:00 |
Michael Hackstein
|
fd7d7e0c5a
|
Started implementing some Cxx AQL functions to use VPack AqlValues. Right now there is a compile-time switch to enable/disable VPack as it now adds overhead
|
2016-02-02 14:57:48 +01:00 |
Michael Hackstein
|
93d0508259
|
Created a temporary type for VPack-based AqlValues. Also started implementing new AQL Functions with this new AqlValue.
|
2016-02-01 17:09:54 +01:00 |
jsteemann
|
2d7323a560
|
fixed warnings shown by clang-3.7
|
2016-01-31 02:17:36 +01:00 |
Jan Steemann
|
828f46c76b
|
shut up compiler
|
2016-01-29 19:19:06 +01:00 |
Michael Hackstein
|
436c377cb5
|
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
|
2016-01-29 14:01:53 +01:00 |
Michael Hackstein
|
0b583d756a
|
Duplicated static helper functions in AQLFunctions to be able to hadle VPack. Added a dummy for AqlValue->VPack. We have to clarify the data responsibilites before continuing here.
|
2016-01-29 13:42:15 +01:00 |
Jan Steemann
|
de52abbf83
|
added AQL function `IS_SAME_COLLECTION`
|
2016-01-27 19:29:01 +01:00 |
Jan Steemann
|
9046e1831b
|
clang-format
|
2016-01-27 13:43:46 +01:00 |
Jan Steemann
|
7800085a9b
|
unified behavior of `RANGE` function
|
2016-01-25 14:19:49 +01:00 |
jsteemann
|
842384016d
|
namespace cleanup
|
2016-01-21 00:20:22 +01:00 |
jsteemann
|
ef67a496e6
|
more checks & asserts, C API cleanup
|
2016-01-20 22:08:11 +01:00 |
jsteemann
|
431900f17a
|
changed namespace from triagens to arangodb
|
2016-01-17 00:44:53 +01:00 |
Jan Steemann
|
7b4bf30c38
|
fixed differing behavior in NEIGHBORS() implementations
|
2016-01-15 10:22:23 +01:00 |
jsteemann
|
59a8cd13dc
|
more aggregate functions
|
2016-01-13 01:36:50 +01:00 |
Jan Steemann
|
9ee2646b53
|
aggregators ready for hash-collect
|
2016-01-11 19:24:53 +01:00 |
Jan Steemann
|
3ad20c0cae
|
auto-generated headers
|
2016-01-06 18:41:51 +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
|
5aebcbd91d
|
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
|
2015-12-22 18:05:35 +01:00 |
Jan Steemann
|
6e3878ec94
|
changed behavior of [*] operator, added COLLECTION_COUNT internal function
|
2015-12-22 18:03:59 +01:00 |
Max Neunhoeffer
|
225c8cd843
|
Work on TODOs.
|
2015-12-22 16:50:09 +01:00 |
Jan Steemann
|
2b3f3f997b
|
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
|
2015-12-17 10:59:30 +01:00 |
Jan Steemann
|
a694b7ef48
|
make_unique
|
2015-12-16 11:36:35 +01:00 |
jsteemann
|
8003ea7d74
|
fixed undefined variable warning
|
2015-12-15 20:12:50 +01:00 |
Michael Hackstein
|
5e332fa4b5
|
Adapted CXX function AQL EDGES to work with documents / Arrays as well. Similar to the old JS version
|
2015-12-15 16:38:45 +01:00 |
Michael Hackstein
|
cd7b249e07
|
Fixed Cxx implementation of EDGES to be able to handle Edges
|
2015-12-15 16:38:03 +01:00 |
jsteemann
|
fd29ccdbc5
|
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
|
2015-12-13 23:37:22 +01:00 |
jsteemann
|
600c48375d
|
added optimizer rule `sort-in-values`
|
2015-12-13 23:33:44 +01:00 |
Michael Hackstein
|
1af985003d
|
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
|
2015-12-10 10:26:14 +01:00 |
Jan Steemann
|
98a5badb08
|
cppcheck
|
2015-12-09 14:49:44 +01:00 |
Michael Hackstein
|
acadb089ee
|
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
|
2015-12-09 10:29:13 +01:00 |
Jan Steemann
|
4cd2621d06
|
adjusted AQL function return values
|
2015-12-08 19:45:32 +01:00 |
Jan Steemann
|
5c033f566b
|
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
|
2015-12-04 13:47:08 +01:00 |
Michael Hackstein
|
3ea14e66a3
|
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
|
2015-12-03 10:19:17 +01:00 |
Jan Steemann
|
61a8e4c686
|
issue #1593: add POW() AQL function
|
2015-12-02 15:41:30 +01:00 |
Jan Steemann
|
0dd207f9f5
|
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
|
2015-12-01 11:14:12 +01:00 |
Michael Hackstein
|
e9a36a3fbf
|
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
|
2015-11-30 14:17:44 +01:00 |
Jan Steemann
|
e3c7760262
|
indentation
|
2015-11-30 12:46:01 +01:00 |
Jan Steemann
|
a66368e10c
|
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
|
2015-11-26 17:13:33 +01:00 |
Michael Hackstein
|
7bf37620bb
|
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
|
2015-11-26 16:32:26 +01:00 |
Jan Steemann
|
15368d12ba
|
added a C++ implementation for AQL function `FULLTEXT`
|
2015-11-26 14:12:43 +01:00 |
Jan Steemann
|
db078f1554
|
changed some APIs of AssocMulti
|
2015-11-25 15:40:01 +01:00 |
Jan Steemann
|
981c578812
|
changed other index APIs
|
2015-11-25 15:05:02 +01:00 |
Michael Hackstein
|
b18ce56a68
|
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
|
2015-11-20 10:49:00 +01:00 |
Jan Steemann
|
bc3bbc46b5
|
fixed Visual Studio warnings
|
2015-11-19 14:29:49 +01:00 |
Wilfried Goesgens
|
5dd70c78c0
|
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
|
2015-11-16 15:55:33 +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 |
Jan Steemann
|
25fa71187d
|
fixed error messages
|
2015-11-11 14:43:28 +01:00 |
Jan Steemann
|
aa38f5d036
|
fixed error messages
|
2015-11-11 13:58:48 +01:00 |
Wilfried Goesgens
|
04b1d75d51
|
Improve error handling, differenciate between collection not found and collection wrong for vertex
|
2015-11-10 13:32:46 +01:00 |
Michael Hackstein
|
6b62d50ced
|
Added CXX Implementation of MERGE_RECURSIVE
|
2015-11-05 17:35:03 +01:00 |
Michael Hackstein
|
2542ea5924
|
Added a CXX implementation for POSITION
|
2015-11-05 15:29:00 +01:00 |
Michael Hackstein
|
6cab84e972
|
Added CXX implementation for RANGE
|
2015-11-05 14:26:53 +01:00 |
Michael Hackstein
|
90aa5c858f
|
Added CXX implementation for MEDIAN and PERCENTILE
|
2015-11-05 11:21:16 +01:00 |
Michael Hackstein
|
dbc67518a4
|
Added CXX implementation for STDDEV_SAMPLE and STDDEV_POPULATION
|
2015-11-04 17:53:45 +01:00 |
Michael Hackstein
|
0294be6ebe
|
Added a CXX implementation for VARIANCE_POPULATION.
|
2015-11-04 16:49:08 +01:00 |
Michael Hackstein
|
a1f947c9bf
|
Added a CXX implemention for VARIANCE_SAMPLE
|
2015-11-04 16:39:45 +01:00 |
Michael Hackstein
|
a958714bcc
|
Added a CXX implementation for CURRENT_DATABASE.
|
2015-11-04 14:40:16 +01:00 |
Michael Hackstein
|
b43eb25135
|
Added CXX implementation for REMOVE_VALUES
|
2015-11-04 14:02:27 +01:00 |