36d0f48d15
graph/path: Add LabelContext to the path query language.
2015-10-30 17:17:57 -04:00
7a5e206539
Merge pull request #331 from barakmich/fix_or
...
query/gremlin: fix building Or iterator, add test
2015-10-29 17:29:13 -04:00
539bd9b272
fix building Or iterator, add test
2015-10-29 17:26:21 -04:00
0b91414c4b
Merge pull request #330 from barakmich/refactor_gremlin
...
query/gremlin: Refactor in terms of graph/path
2015-10-28 23:22:09 -04:00
3d286f5245
document path context, pipe it through Reversal() as well, and update the godoc
2015-10-28 23:12:37 -04:00
f74051a520
Rewrite Gremlin's buildIterator in terms of paths
2015-10-28 21:26:29 -04:00
97247ae40f
add InPredicates/OutPredicates
2015-10-28 19:42:59 -04:00
b91b7ab824
bring the path test in line with the gremlin test, add Back()
2015-10-28 19:15:57 -04:00
bcbdb1f82a
route context through graph.Path
2015-10-28 18:35:10 -04:00
c5cea1f78b
Merge pull request #319 from Quentin-M/patch-1
...
Fix NPE in SQL Quadstore
2015-10-24 18:49:24 -04:00
Quentin Machu
3f5a4a7827
Fix NPE in SQL Quadstore
...
When `tx.Exec` fails and an error is returned, result is nil. Thus, `result.RowsAffected()` panics.
* Add a missing return statement in the error test.
* Add a second missing return statement just below to return the proper error message if we can't execute `RowsAffected` instead of saying that the triple doesn't exist.
2015-10-18 14:40:36 -04:00
6c5ac2abaf
Merge pull request #315 from Quentin-M/improve-tx
...
Improve Transaction: deduplicate quads, allow adding/removing a quad in the same tx
2015-10-06 16:20:06 -04:00
Quentin Machu
91fc9ee3de
Improve Transaction: deduplicate quads, allow adding/removing a quad in the same tx
2015-10-06 15:56:02 -04:00
Quentin Machu
45d96e14ec
Improve Transaction: deduplicate quads, allow adding/removing a quad in the same tx
2015-10-06 15:21:33 -04:00
b74f8f1340
Merge pull request #313 from barakmich/fixes
...
Fix corners after causing a couple merges
2015-10-05 17:58:18 -04:00
4ffda9ad3b
Fix corners after dropping a couple merges
2015-10-05 17:45:42 -04:00
0274e9f73c
Merge pull request #292 from ds--/master
...
Adds exporting capabilities
2015-10-05 17:26:10 -04:00
0c5f1bc364
Merge pull request #277 from barakmich/upgrade_db
...
Add migration tool and use protos in Bolt store
2015-10-05 17:22:05 -04:00
f7cdec8294
Merge pull request #289 from barakmich/psql
...
graph: Postgres backend
2015-10-05 17:20:55 -04:00
0c7160aaa0
Merge pull request #305 from sayden/readme-typo-fix
...
Typo fix when building cayley from scratch
2015-10-05 17:17:12 -04:00
d831fdd4c2
Merge pull request #306 from sayden/correction-in-overview-docs
...
Order of parameters when using :a and :d are switched
2015-10-05 17:15:17 -04:00
363120a3f7
Merge pull request #312 from Kavec/path-readability
...
Refactor for readability
2015-10-05 17:14:49 -04:00
Tyler Gibbons
5c41e4fe5d
Add periods throughout
2015-10-01 19:52:49 -07:00
Tyler Gibbons
893bd6ca00
Complete comment on line 60
2015-10-01 19:46:52 -07:00
Tyler Gibbons
4f69eb301c
Fix copyright dates
2015-10-01 19:41:15 -07:00
Tyler Gibbons
1a86cf0b13
Add myself to contributors
2015-10-01 19:32:25 -07:00
Tyler Gibbons
0dd93f87a9
Fix mis-named packages, run tests
2015-10-01 19:14:17 -07:00
Tyler Gibbons
51f5a86232
Refactor for readability
...
Added more documentation, converted logical operations to (hopefully)
consistent 'route' metaphor, and moved all AND(iterator, iterator)
stanzas out into a single join() function that is more descriptive of
what's actually happening
2015-10-01 19:09:33 -07:00
42aa91b77f
Merge pull request #296 from kortschak/bolt-panic
...
graph/bolt: don't panic on unitialised store
2015-09-18 05:34:59 -04:00
Mario Castro
3ad4d56026
Order of parameters when using :a and :d are switched
2015-09-04 23:18:26 +02:00
Mario Castro
3cdd6c85f6
Typo fix in readme "script" to build cayley
2015-09-04 22:57:32 +02:00
f3e37867e0
Merge pull request #303 from barakmich/memstore_semantics
...
Fixes memstore transaction semantics
2015-09-03 13:35:09 -04:00
3e2b490063
Fixes memstore transaction semantics
2015-09-03 13:32:09 -04:00
fb7e200551
Respect IgnoreMissing, which SQL does silently. Fixes barakmich/psql #10
2015-09-02 16:26:18 -04:00
fc6f7b3ea7
Merge pull request #9 from Quentin-M/psql-fail-fast-open
...
Make the SQL connection fail-fast
2015-08-26 16:19:35 -04:00
6fcc8024f5
Merge pull request #8 from Quentin-M/psql-fix-npe
...
Fix NPEs in SQL Next and Contains
2015-08-26 16:19:08 -04:00
Quentin Machu
13b11e46a4
Make the SQL connection fail-fast
2015-08-26 02:10:27 -04:00
Quentin Machu
7ddeb101ca
Fix NPEs in SQL Next and Contains
2015-08-26 01:19:28 -04:00
b8b3e1b45a
Merge pull request #297 from barakmich/travis
...
Roll the Go version forward on Travis builds (new stable)
2015-08-19 13:46:00 -04:00
7dbc3b9946
Roll the Go version forward on Travis builds (new stable)
2015-08-19 13:39:54 -04:00
kortschak
88262ac344
graph/bolt: don't panic on unitialised store
...
Fixes #295 .
2015-08-17 09:46:18 +09:30
David Schor
f9ee0e77fc
formatted using gofmt
2015-08-15 06:58:42 -04:00
ebaf8b2a98
Can't use distinct, fix double-hashing bug
...
remove distinctness, make printing the SQL query part of describe
clean up quadstore a bit, add noSizes as an external option
2015-08-12 16:03:25 -04:00
fab8cd64b3
Option to remove size calls
...
Fix permutations of optimization intersections
Return empty string as per bolt
fix case sensitivity and memstore panic
2015-08-12 16:03:25 -04:00
aedd0401e2
Fix up hash interface and speed up save queries 10x
...
Fix all optimizer
2015-08-12 16:03:25 -04:00
ab3f59d21f
Add hash-based indexes
2015-08-12 16:03:25 -04:00
c98318aa97
Fix tests and update Godep
2015-08-12 16:03:25 -04:00
8830760df2
Split intersection and node iteration into two logical SQL iterators
2015-08-12 16:03:25 -04:00
3e02bb2b71
refactor to SQL builder iterators and standard iterator wrapper
2015-08-12 16:03:25 -04:00
b754810c6e
Remove old iterator code, leaving a simple all-iterator for the sql backend
2015-08-12 16:03:25 -04:00