1
0
Fork 0
Commit Graph

20 Commits

Author SHA1 Message Date
jsteemann 77e19df7c7 reuse operation cursors for const expressions 2016-06-29 22:56:42 +02:00
jsteemann e554f5463a primary index and cursor optimizations 2016-06-29 22:13:24 +02:00
Michael Hackstein 59dd29e760 Improved OperationCursor. It now uses unique instead of shared ptr. It was never shared anyways. Also many more places now use direct MasterPointers in favor of OperationResults. Also added a generic IndexIterator nextBabies function. 2016-06-29 13:08:07 +02:00
jsteemann b56cf9f903 optimized away an unneeded shared_ptr 2016-06-25 23:48:09 +02:00
Michael Hackstein d4baf62d20 Activated Externals by default in OperationCursor. This is used in some places and should have a positive performance impact 2016-05-04 17:16:10 +02:00
Michael Hackstein ae80b86599 Added a function to request babies from an IndexIterator (next n elements). Used this function in OperationCursor to get a list of mptrs. The only Index supporting it right now is EdgeIndex. It is only used in OutboundNeighbors at this point. 2016-04-20 15:13:42 +02: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
Michael Hackstein 5d61b709bb Fixed OperationCursor and SkiplistIndex. The builder in OperationCursor did not retain the _buffer. 2016-03-15 08:56:37 +01:00
Michael Hackstein a4edc8dd49 Merge from spdvpk 2016-03-14 23:46:57 +01:00
Jan Steemann b55b5d7386 AqlValue refactoring 2016-03-09 17:50:20 +01:00
Jan Steemann 0c2fdb9fb9 less dependency on document-collection.h 2016-03-04 20:53:17 +01:00
Michael Hackstein 922a96fee0 Added a reset function to OperationCursor. ALso added a switch to getMore to define that all documents are referenced as Externals instead of inplace 2016-03-01 16:37:21 +01:00
Michael Hackstein 6e7f9ef49c Transaction OperationCursor now implements a skip method. 2016-03-01 14:37:40 +01:00
Michael Hackstein 4f7e03af58 Removed unnecessary reference to Index.h. Decreases build time when Indexes are changed 2016-02-29 14:25:35 +01:00
Jan Steemann 2ee4dad77b TransactionContext is now the resource owner 2016-02-25 14:02:57 +01:00
jsteemann ee49f4f3f7 cppcheck 2016-02-23 21:33:59 +01:00
Jan Steemann 7efe1c6091 Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk 2016-02-22 16:28:37 +01:00
Michael Hackstein 756c056795 Added basic implementation to scan an index based on a transaction. However no index implements the new iterator yet. Next step. 2016-02-19 18:22:19 +01:00
Max Neunhoeffer 81ae787388 Index Scan API. 2016-02-19 14:11:33 +01:00
Max Neunhoeffer 5fccaecc67 Add API for Transaction::indexScan. 2016-02-18 22:34:53 +01:00