Dominik Tomičević
694d3363d6
Merged record accessor
2016-02-12 18:43:56 +01:00
Marko Budiselic
6eac9a5ac5
first proposal of compile process
2016-02-10 23:34:49 +01:00
Marko Budiselic
7d8c5a7f7e
query engine can now generate, compile and run dummy code, everything is ready to generate code for dummy the query: CREATE (n {...}) RETURN n
2016-02-07 22:56:52 +01:00
Marko Budiselic
dbe1464f9b
big step forward, we are now able to pass Db into the shared library, next step is to implement CodeCompiler and CodeGenerator
2016-02-06 20:48:40 +01:00
Marko Budiselic
183ec03730
cypher token update; explicit bool operator
2016-02-06 16:27:21 +01:00
Marko Budiselic
a21fe854c2
small rewrite of QueryStripper, Lexer and CypherLexer
2016-02-06 13:45:45 +01:00
Marko Budiselic
499469aec2
query stripper is implemented with the template metaprogramming
2016-02-04 02:45:12 +01:00
Marko Budiselic
3e5f2de6c2
query stripping and stripped string hash calculation
2016-02-03 00:18:20 +01:00
Marko Budiselic
7e38ffe479
minor changes, cppgen was removed from cypher, query_engine should for now contain that kind of logic
2016-01-30 18:57:18 +01:00
Marko Budiselic
0cf55d36c6
cypher compiler and Ast are now wrapped inside the query engine
2016-01-28 00:29:38 +01:00
Marko Budiselic
e2bbcae3ac
initial work on query engine, only rough draft of the first level of the arhitecture, implementation is still empty
2016-01-26 23:40:11 +01:00
Marko Budiselic
aa49a0997e
MATCH ... SET ... RETURN clause
2016-01-25 21:22:12 +01:00
Marko Budiselic
7c52817e41
First implementation of delete query
2016-01-24 16:21:46 +01:00
Marko Budiselic
1a6676e240
some query examples are modified and try to add AS in grammar (not successfully one)
2016-01-19 23:36:00 +01:00
Marko Budiselic
f79add5633
DISTINCT is now inside AST; tradeoff: [Return object with return list and distinct pointers -> query executor is going to be more complex] OR [ReturnList object and ReturnDistinct object -> lemon / LARL(1) syntax will be much more complex]
2016-01-18 00:41:54 +01:00
Marko Budiselic
2998527462
work on cypher compiler, only cypher query example files were added
2016-01-16 18:24:35 +01:00
Marko Budiselic
df08750a43
vertex CRUD works again, the unit tests for it also exist
2016-01-06 15:45:54 +01:00
Marko Budiselic
7079c78e14
vertex crud test update
2016-01-03 22:42:55 +01:00
Marko Budiselic
e89da5f875
reconstructed rest api, but still this is broken version, TODO: discuss where is place for the id (versions accessor, versions or in vertex accessor
2016-01-02 22:20:09 +01:00
Dominik Tomičević
b93bab375e
record accessor, indexes and cursors
2016-01-02 12:20:51 +01:00
Marko Budiselic
c495872b22
some cleanup, nothing major
2015-12-30 01:36:55 +01:00
Marko Budiselic
7bfc610124
First runnable version of insert with the VertexProxy object
2015-12-20 14:00:07 +01:00
Marko Budiselic
d7ae5e69ce
RecordProxy work in progres... Initial test case for VertexProxy
2015-12-15 23:35:09 +01:00
Dominik Tomičević
126b95b454
fixed skiplist and implemented the interface for skiplistset
2015-12-14 20:29:02 +01:00
Marko Budiselic
904553b712
RecordProxy class + VertexProxy and EdgeProxy. The main purpose of those Proxy objects is to control the process of updating the Index
2015-12-12 19:06:59 +01:00
Marko Budiselic
00e9fb2a63
/node CRUD operations; VertexStore was renamed to Vertices and Edges class was added
2015-12-12 17:57:07 +01:00
Marko Budiselic
9877ff6834
nodes could now again be created and found (skiplist is now in usage)
2015-12-08 20:49:45 +01:00
Dominik Tomičević
62fcffffa5
added a lot of comments to skiplist
2015-12-08 18:30:20 +01:00
Dominik Tomičević
fa2cb263ba
refactored iterators inside the skiplist
2015-12-08 07:43:53 +01:00
Marko Budiselic
cbdc70d407
new version of node post (work in progress)
2015-12-07 22:43:54 +01:00
Marko Budiselic
36856f3bfb
Merge branch 'master' of https://phabricator.tomicevic.com/diffusion/MG/memgraph
2015-12-07 21:52:08 +01:00
Marko Budiselic
ba434cf48a
ifndef are replaced with the pragma once
2015-12-07 21:51:55 +01:00
Dominik Tomičević
ee292aa558
implemented correct skiplist
2015-12-07 21:50:07 +01:00
Dominik Tomičević
379bfb14c4
refactored storage engine
2015-12-07 18:45:44 +01:00
Dominik Tomičević
47bd3b372b
refactored mvcc, locks and transactions. sorry for the big one :D
2015-12-06 16:52:52 +01:00
Dominik Tomičević
9ad59c267a
Merge branch 'master' of https://phabricator.tomicevic.com/diffusion/MG/memgraph
...
* 'master' of https://phabricator.tomicevic.com/diffusion/MG/memgraph :
terminate handler is moved to a separete file
2015-12-06 16:39:33 +01:00
Dominik Tomičević
d22eedfe9e
refactored storage engine
2015-12-06 16:37:42 +01:00
Marko Budiselic
fca9110b65
terminate handler is moved to a separete file
2015-12-04 00:40:12 +01:00
Dominik Tomičević
1324b2ded1
documented futex implementation a bit more and added checks for locked and contended to it
2015-11-27 08:54:37 +01:00
Dominik Tomičević
d50fc8997c
implemented futexes
2015-11-26 02:52:51 +01:00
Dominik Tomičević
7c8d15b949
checking in all work because i won't be able to work on it for some time
2015-11-22 21:35:40 +01:00
Dominik Tomičević
101b0ec12f
started working on version_list replacement for atom
2015-11-21 22:56:43 +01:00
Dominik Tomičević
039df559de
Merge branch 'master' of https://phabricator.tomicevic.com/diffusion/MG/memgraph
...
* 'master' of https://phabricator.tomicevic.com/diffusion/MG/memgraph :
Initial code on crashes and exceptions logging. Related to T31.
uint64_t was replaced with the Id object. Fixes T28.
TotalOrdering and Id implementations, related to T28
2015-11-21 22:49:42 +01:00
Dominik Tomičević
a0a4b0bf40
improved hazard pointer support, still has issues though
2015-11-21 22:48:56 +01:00
Marko Budiselic
9685ac3cb6
Initial code on crashes and exceptions logging. Related to T31.
2015-11-21 20:34:10 +01:00
Marko Budiselic
aeb8586bfd
uint64_t was replaced with the Id object. Fixes T28.
2015-11-21 19:16:19 +01:00
Marko Budiselic
e7953fc7e0
TotalOrdering and Id implementations, related to T28
2015-11-21 16:08:23 +01:00
Dominik Tomičević
12628f3689
skeleton for total ordering
2015-11-21 13:57:15 +01:00
Dominik Tomičević
655b4c04dd
added tests and examples for xorshift and binomial
2015-11-18 02:23:27 +01:00
Dominik Tomičević
4a872941d4
fixed xorshift and binomial distribution
2015-11-16 23:53:45 +01:00